]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
fix SetOptionValues()
authoreap <eap@opencascade.com>
Mon, 5 May 2008 12:32:30 +0000 (12:32 +0000)
committereap <eap@opencascade.com>
Mon, 5 May 2008 12:32:30 +0000 (12:32 +0000)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx

index 8fe8788777782d85282bce296693d4563e1a6cff..5952c6c8be0bc7021eadd6bb7100904ffe560450 100644 (file)
@@ -488,7 +488,7 @@ void BLSURFPlugin_Hypothesis_i::SetOptionValues(const BLSURFPlugin::string_array
     else {
       name = name_value.substr( 0, colonPos);
       if ( colonPos < name_value.size()-1 && name_value[colonPos] != ' ')
-        value = name_value.substr( colonPos );
+        value = name_value.substr( colonPos+1 );
     }
     SetOptionValue( name.c_str(), value.c_str() );
   }