]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relocate.cc
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / relocate.cc
index 42c54a65ff3863bf3d9635b9a21b3956f46698ed..9c8e464d32856c65129928bc11e4208216efb0a8 100644 (file)
@@ -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;
 }