From: eap Date: Mon, 5 May 2008 12:32:30 +0000 (+0000) Subject: fix SetOptionValues() X-Git-Tag: V4_1_2rc3~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55e16c107d3260d45e3478460263666c0cc5bb59;p=plugins%2Fblsurfplugin.git fix SetOptionValues() --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index 8fe8788..5952c6c 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -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() ); }