]> Creatis software - bbtk.git/commitdiff
#2997 BBTK Feature New Normal - Read Lines String box in package std
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 15 Jul 2016 12:40:13 +0000 (14:40 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 15 Jul 2016 12:40:13 +0000 (14:40 +0200)
packages/std/src/bbstdStringWriter.cxx

index 13f1bbe92f9a10846827b344b27a9f1a52b0be2e..84eb35b2ed4c856c271f2603caff77965c07a381 100644 (file)
@@ -47,16 +47,16 @@ void StringWriter::Process()
                FILE *ff = fopen(bbGetInputFileName().c_str(),"w");
                if (ff!=NULL)
                {
-                       if (bbGetInputIn0()!="") { fprintf(ff,"%s \n",bbGetInputIn0().c_str()); }
-                       if (bbGetInputIn1()!="") { fprintf(ff,"%s \n",bbGetInputIn1().c_str()); }
-                       if (bbGetInputIn2()!="") { fprintf(ff,"%s \n",bbGetInputIn2().c_str()); }
-                       if (bbGetInputIn3()!="") { fprintf(ff,"%s \n",bbGetInputIn3().c_str()); }
-                       if (bbGetInputIn4()!="") { fprintf(ff,"%s \n",bbGetInputIn4().c_str()); }
-                       if (bbGetInputIn5()!="") { fprintf(ff,"%s \n",bbGetInputIn5().c_str()); }
-                       if (bbGetInputIn6()!="") { fprintf(ff,"%s \n",bbGetInputIn6().c_str()); }
-                       if (bbGetInputIn7()!="") { fprintf(ff,"%s \n",bbGetInputIn7().c_str()); }
-                       if (bbGetInputIn8()!="") { fprintf(ff,"%s \n",bbGetInputIn8().c_str()); }
-                       if (bbGetInputIn9()!="") { fprintf(ff,"%s \n",bbGetInputIn9().c_str()); }
+                       if (bbGetInputIn0()!="") { fprintf(ff,"%s\n",bbGetInputIn0().c_str()); }
+                       if (bbGetInputIn1()!="") { fprintf(ff,"%s\n",bbGetInputIn1().c_str()); }
+                       if (bbGetInputIn2()!="") { fprintf(ff,"%s\n",bbGetInputIn2().c_str()); }
+                       if (bbGetInputIn3()!="") { fprintf(ff,"%s\n",bbGetInputIn3().c_str()); }
+                       if (bbGetInputIn4()!="") { fprintf(ff,"%s\n",bbGetInputIn4().c_str()); }
+                       if (bbGetInputIn5()!="") { fprintf(ff,"%s\n",bbGetInputIn5().c_str()); }
+                       if (bbGetInputIn6()!="") { fprintf(ff,"%s\n",bbGetInputIn6().c_str()); }
+                       if (bbGetInputIn7()!="") { fprintf(ff,"%s\n",bbGetInputIn7().c_str()); }
+                       if (bbGetInputIn8()!="") { fprintf(ff,"%s\n",bbGetInputIn8().c_str()); }
+                       if (bbGetInputIn9()!="") { fprintf(ff,"%s\n",bbGetInputIn9().c_str()); }
                        fclose(ff);
                }
        }