X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finput-scheme.cc;h=996a4a59b2c9ab14976a65554b95544f3ec0d38e;hb=9d5b78dfc79e820d6aafdc9f403741fddcf44653;hp=ad2cdbeaed3d1aaadaf918e5e395eb2dc8b8965a;hpb=e344ae579fa1d81fc6c6f3049494697872fd39f9;p=lilypond.git diff --git a/lily/input-scheme.cc b/lily/input-scheme.cc index ad2cdbeaed..996a4a59b2 100644 --- a/lily/input-scheme.cc +++ b/lily/input-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2008 Han-Wen Nienhuys + (c) 2005--2009 Han-Wen Nienhuys */ #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),