]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pfb.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / pfb.cc
index d5961f12f5464e1c3bc728a3aa0aaf901425be05..fc20dfd5cd7591e9603bc5a13a27c8fb5c1f1055 100644 (file)
@@ -3,12 +3,13 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include <cstdlib>
 #include <cstdio>
 #include <cstring>
+using namespace std;
 
 #include "program-option.hh"
 #include "source-file.hh"
@@ -77,11 +78,11 @@ LY_DEFINE (ly_pfb_to_pfa, "ly:pfb->pfa",
                   SCM_ARG1, __FUNCTION__, "string");
 
   String file_name = ly_scm2string (pfb_file_name);
-  int len;
+  int len = -1;
 
   if (be_verbose_global)
     progress_indication ("[" + file_name);
-
+  
   char *str = gulp_file (file_name, &len);
   char *pfa = pfb2pfa ((Byte *)str, len);