mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-15 13:51:20 +05:00
void UpdateParameters(const char* theParameters)
{ + if ( strlen(theParameters) == 0 ) return;
This commit is contained in:
parent
b0b26bc35f
commit
8317c21cad
@ -916,7 +916,7 @@ void SMESH_Gen_i::UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char*
|
|||||||
return;
|
return;
|
||||||
myLastParameters.clear();
|
myLastParameters.clear();
|
||||||
int pos = 0, prevPos = 0, len = strlen( theParameters );
|
int pos = 0, prevPos = 0, len = strlen( theParameters );
|
||||||
//if ( len == 0 ) return;
|
if ( len == 0 ) return;
|
||||||
while ( pos <= len )
|
while ( pos <= len )
|
||||||
{
|
{
|
||||||
if ( pos == len || theParameters[pos] == ':' )
|
if ( pos == len || theParameters[pos] == ':' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user