Salome HOME
typo-fix by Kunda
[modules/smesh.git] / src / SMESHUtils / SMESH_Tree.hxx
index 6afd6e03f0dcf519c863cd9daf353c895fccf2b2..16ab6b80570d9e687f740690e584e8429ee8ffbf 100644 (file)
@@ -268,14 +268,14 @@ int SMESH_Tree<BND_BOX,NB_CHILDREN>::getHeight(const bool full) const
   if ( isLeaf() )
     return 1;
 
-  int heigth = 0;
+  int height = 0;
   for (int i = 0; i<NB_CHILDREN; i++)
   {
     int h = myChildren[i]->getHeight( false );
-    if ( h > heigth )
-      heigth = h;
+    if ( h > height )
+      height = h;
   }
-  return heigth + 1;
+  return height + 1;
 }
 
 #endif