From d5ee1e891224315cf62ddcd272d5ff57a28a2355 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 18 May 2005 13:35:17 +0000 Subject: [PATCH] (ly_add_function_documentation): use scm_hash_table_p() for checking. --- lily/function-documentation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/function-documentation.cc b/lily/function-documentation.cc index bfa68ec546..8ea300dab3 100644 --- a/lily/function-documentation.cc +++ b/lily/function-documentation.cc @@ -21,7 +21,7 @@ void ly_add_function_documentation (SCM func, if (!strlen (doc)) return; - if (!scm_is_vector (doc_hash_table)) + 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 -- 2.39.5