]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/binary-source-file.cc
fix typos.
[lilypond.git] / lily / binary-source-file.cc
index d43568dfc25084cf39e1e31b922ca1ccbbbbec2f..5d6568f4f91e03b563ec1835cba95adc1f7df132 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the LilyPond music typesetter
 
-  (c)  1997--2003 Jan Nieuwenhuizen
+  (c) 1997--2004 Jan Nieuwenhuizen
 */
 
 
@@ -16,8 +16,8 @@
 #include "binary-source-file.hh"
 #include "string-convert.hh"
 
-Binary_source_file::Binary_source_file (String& filename_string)
-  : Source_file (filename_string)
+Binary_source_file::Binary_source_file (String& file_name_string)
+  : Source_file (file_name_string)
 {
 }
 
@@ -29,7 +29,7 @@ String
 Binary_source_file::error_string (char const* pos_str0) const
 {
   assert (this);
-  if (!in_b (pos_str0))
+  if (!contains (pos_str0))
     return "";
 
   char const* begin_str0 = pos_str0 - 8 >? to_str0 ();
@@ -54,7 +54,7 @@ Binary_source_file::error_string (char const* pos_str0) const
 int
 Binary_source_file::get_line (char const* pos_str0) const
 {
-  if (!in_b (pos_str0))
+  if (!contains (pos_str0))
     return 0;
 
   return pos_str0 - to_str0 ();