X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_Tree.hxx;h=16ab6b80570d9e687f740690e584e8429ee8ffbf;hb=286eab9f3e612f296338a1d96c8cc2d916927123;hp=6afd6e03f0dcf519c863cd9daf353c895fccf2b2;hpb=afb6b35047b55252975cad1be72871038ca01b51;p=modules%2Fsmesh.git diff --git a/src/SMESHUtils/SMESH_Tree.hxx b/src/SMESHUtils/SMESH_Tree.hxx index 6afd6e03f..16ab6b805 100644 --- a/src/SMESHUtils/SMESH_Tree.hxx +++ b/src/SMESHUtils/SMESH_Tree.hxx @@ -268,14 +268,14 @@ int SMESH_Tree::getHeight(const bool full) const if ( isLeaf() ) return 1; - int heigth = 0; + int height = 0; for (int i = 0; igetHeight( false ); - if ( h > heigth ) - heigth = h; + if ( h > height ) + height = h; } - return heigth + 1; + return height + 1; } #endif