]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Parameters.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / Parameters.h
index 765f82f851d7b9bbb3f0ef2b3bec0c8ce70f5e1a..c93e160877d51275504aef98621a2f6a8433e5e4 100644 (file)
@@ -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( );                                  \
       }                                                                 \
     }                                                                   \