X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FParameters.h;h=c93e160877d51275504aef98621a2f6a8433e5e4;hb=19a9e1774044cc32c415ad38695800c1d169820d;hp=765f82f851d7b9bbb3f0ef2b3bec0c8ce70f5e1a;hpb=de874ea850042e77a99a456188f423c8df2e374f;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Parameters.h b/lib/cpPlugins/Interface/Parameters.h index 765f82f..c93e160 100644 --- a/lib/cpPlugins/Interface/Parameters.h +++ b/lib/cpPlugins/Interface/Parameters.h @@ -118,7 +118,9 @@ class TiXmlElement; if( i->second.first == Self::Y##List ) \ { \ std::stringstream str; \ - str << i->second.second << "#" << v; \ + if( i->second.second != "" ) \ + str << i->second.second << "#"; \ + str << v; \ i->second.second = str.str( ); \ } \ } \