]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-scheme.cc
Fix hardcoded [ugh] regexp for fixing-up img urls. Fixes mucho broken links.
[lilypond.git] / lily / input-scheme.cc
index 922112b087bc63d0fdc9287277f78634b4d2b54d..996a4a59b2c9ab14976a65554b95544f3ec0d38e 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--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "std-string.hh"
@@ -46,10 +46,8 @@ LY_DEFINE (ly_input_file_line_char_column,
   LY_ASSERT_TYPE (unsmob_input, sip, 1);
   Input *ip = unsmob_input (sip);
 
-  int l = 0;
-  int ch = 0;
-  int col = 0;
-  ip->get_counts (&l, &ch, &col);
+  int l, ch, col, offset = 0;
+  ip->get_counts (&l, &ch, &col, &offset);
   return scm_list_4 (ly_string2scm (ip->file_string ()),
                     scm_from_int (l),
                     scm_from_int (ch),