X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frelocate.cc;h=fd6cf85c458f2fbac7dd76ae8c3bae1f8c8b3714;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=42c54a65ff3863bf3d9635b9a21b3956f46698ed;hpb=52c47ff08943021305e5d40bf5a4963e3e520af8;p=lilypond.git diff --git a/lily/relocate.cc b/lily/relocate.cc index 42c54a65ff..fd6cf85c45 100644 --- a/lily/relocate.cc +++ b/lily/relocate.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2007 Han-Wen Nienhuys + (c) 2005--2008 Han-Wen Nienhuys */ @@ -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; }