]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relocate.cc
Run `make grand-replace'.
[lilypond.git] / lily / relocate.cc
index 42c54a65ff3863bf3d9635b9a21b3956f46698ed..fd6cf85c458f2fbac7dd76ae8c3bae1f8c8b3714 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 */
 
@@ -336,7 +336,7 @@ expand_environment_variables (string orig)
   return out;
 }
 
-
+// Ugh - very inefficient, but safer than fgets.
 static string
 read_line (FILE *f)
 {
@@ -344,7 +344,7 @@ read_line (FILE *f)
   
   int c = 0;
   while ((c = fgetc (f)) != EOF && c != '\n')
-    out += c;
+    out += char(c);
 
   return out;
 }