]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/source-file.cc
(Module):
[lilypond.git] / lily / source-file.cc
index c350248065cea64211dfe5f73c5a29cd51950f0f..9d4a3db37a10ca98c34d39273a9f49fdb1ac1e64 100644 (file)
@@ -174,7 +174,7 @@ Source_file::quote_input (char const *pos_str0) const
   std::string context = line.substr (0, ch)
     + to_string ('\n')
     + to_string (' ', col)
-    + line.substr (ch);
+    + line.substr (ch, line.length()-ch);
   return context;
 }