From 55e16c107d3260d45e3478460263666c0cc5bb59 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 5 May 2008 12:32:30 +0000 Subject: [PATCH] fix SetOptionValues() --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } -- 2.39.2