Salome HOME
Merge V9_dev branch into master
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index aed61ba95ee2c267a97bd70cdadc7996e7f0d6bd..28b641e3a4f74a15bd8b2c51b3adc47dfe76f510 100644 (file)
@@ -5082,7 +5082,7 @@ bool _pyStringFamily::Add( const char* str )
 
     _strings.erase( itLess, ++itMore );
   }
-  else // to few string to make a family fot them
+  else // too few string to make a family for them
   {
     _strings.insert( itStr, str );
   }
@@ -5156,7 +5156,7 @@ int _pyStringFamily::isIn( const char* str )
       if (( len = itSub->isIn( str + itSub->_prefix.Length() )) >= 0 )
         return itSub->_prefix.Length() + len;
     }
-    else if ( cmp > 0 )
+    else if ( cmp < 0 )
       break;
   }
   if ( !_strings.empty() )