From: vsv Date: Mon, 25 Aug 2008 14:56:12 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TG_VISU_2008_2008-09-12~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ea7d3cc033bfb9a73a39e5fc2437025c70f41c2;p=modules%2Fkernel.git *** empty log message *** --- 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"; + } } }