void UpdateParameters(const char* theParameters)

{
+  if ( strlen(theParameters) == 0 ) return;
This commit is contained in:
eap 2012-03-15 12:11:16 +00:00
parent b0b26bc35f
commit 8317c21cad

View File

@ -916,7 +916,7 @@ void SMESH_Gen_i::UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char*
return;
myLastParameters.clear();
int pos = 0, prevPos = 0, len = strlen( theParameters );
//if ( len == 0 ) return;
if ( len == 0 ) return;
while ( pos <= len )
{
if ( pos == len || theParameters[pos] == ':' )