]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-outputter.cc
2003 -> 2004
[lilypond.git] / lily / paper-outputter.cc
index 6dc512510761995328c8fb05d37e5a5c20f92b51..e31c61b4a99b35b5c25a327dd644ec5b48c64dc7 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 
 
 /*
-  Ugh, this is messy.
+  TODO: this entire class should be implemented at Scheme level.
+
+
+  
  */
 Paper_outputter::Paper_outputter (String name)
 {
@@ -116,7 +119,7 @@ Paper_outputter::output_scope (SCM mod, String prefix)
        {
          output_String_def (prefix + s, ly_scm2string (v));
        }
-      else if (scm_exact_p (v) == SCM_BOOL_T)
+      else if (scm_integer_p (v) == SCM_BOOL_T && scm_exact_p (v) == SCM_BOOL_T)
        {
          output_int_def (prefix + s, gh_scm2int (v));    
        }