From: vsv Date: Fri, 3 Oct 2008 12:38:36 +0000 (+0000) Subject: Merge with VISU 2008 X-Git-Tag: V5_1_0a3~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c6cdfd819db7d27e8b4a5d5d05b1ac3d62e2ffe8;p=modules%2Fkernel.git Merge with VISU 2008 --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx index 876bcf344..2d80d7cf8 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx @@ -280,8 +280,13 @@ string SALOMEDSImpl_IParameters::getStudyScript(SALOMEDSImpl_Study* study, int s for(int i = 0; i lst = ip.getValues(v[i]); dump += "# fill list "+v[i]+"\n"; - for(int j = 0; j < lst.size(); j++) - dump += "ipar.append(\""+v[i]+"\", \""+lst[j]+"\")\n"; + for(int j = 0; j < lst.size(); j++) { + printf("### %s \nFind : %i\n",lst[j].c_str(), lst[j].find('\"')); + if (lst[j].find('\"') == -1) + dump += "ipar.append(\""+v[i]+"\", \""+lst[j]+"\")\n"; + else + dump += "ipar.append(\""+v[i]+"\", \"\"\""+lst[j]+"\"\"\")\n"; + } } }