Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b26bc
)
void UpdateParameters(const char* theParameters)
author
eap
<eap@opencascade.com>
Thu, 15 Mar 2012 12:11:16 +0000
(12:11 +0000)
committer
eap
<eap@opencascade.com>
Thu, 15 Mar 2012 12:11:16 +0000
(12:11 +0000)
{
+ if ( strlen(theParameters) == 0 ) return;
src/SMESH_I/SMESH_Gen_i_1.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index cb6df20e4e8ce50dff090026fee16c512c6a1e15..27c50ececdfd8f31f284de9dd993b77e3da39162 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-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] == ':' )