]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/function-documentation.cc (ly_add_function_documentation):
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 18 May 2005 14:46:38 +0000 (14:46 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 18 May 2005 14:46:38 +0000 (14:46 +0000)
duh, use !=

* lily/function-documentation.cc (ly_add_function_documentation):
use scm_hash_table_p() for checking.

ChangeLog
lily/function-documentation.cc
make/lilypond-vars.make

index 2b18fc53fb7a18e1764e1dd0535e56f5614d6f52..b057127fbc4356b46d3462fba36a5ded808d21ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-05-18  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * lily/function-documentation.cc (ly_add_function_documentation):
+       duh, use !=
+
        * Documentation/topdocs/INSTALL.texi (Top): add MacOS command.
 
        * stepmake/aclocal.m4: remove kpathsea warning, change to OPTIONAL.
index 8ea300dab31df46252e1f0d31aaaaabcf3d96163..124d6b5539459a50de52c417dec7de5a8f74a2d0 100644 (file)
@@ -21,7 +21,7 @@ void ly_add_function_documentation (SCM func,
   if (!strlen (doc))
     return;
 
-  if (scm_hash_table_p (doc_hash_table) == SCM_BOOL_T)
+  if (scm_hash_table_p (doc_hash_table) != SCM_BOOL_T)
     doc_hash_table = scm_c_make_hash_table (59);
 
   String s = String (" - ") + "LilyPond procedure: " + fname + " " + varlist
index 13aad7f6e4b2a8c5f4e9b9b090aa7e8fca1add5d..7306b20b22cb7940944cc57bad64683caf989b0e 100644 (file)
@@ -18,7 +18,7 @@ CONVERT_LY = $(script-dir)/convert-ly.py
 LILYPOND = $(builddir)/lily/$(outconfbase)/lilypond
 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
 LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(builddir)/mf/$(outconfbase)/  -I $(builddir)/mf/out/
-LILYPOND_BOOK_FLAGS = --process="lilypond --backend=eps --formats=ps,png --header=texidoc -I $(srcdir)/input/test -e '(ly:set-option (quote internal-type-checking) \#t)'"
+LILYPOND_BOOK_FLAGS = --process="$(LILYPOND) --backend=eps --formats=ps,png --header=texidoc -I $(srcdir)/input/test -e '(ly:set-option (quote internal-type-checking) \#t)'"
 
 
 #texi-html for www only: