]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-scheme.cc
Updating lily-guile.cc.
[lilypond.git] / lily / general-scheme.cc
index 299190b42841734b34ef8e86635bfccc4cb710b6..605bf06cfd9c803b2aa960b4be541915946a210d 100644 (file)
@@ -107,7 +107,7 @@ LY_DEFINE (ly_dir_p, "ly:dir?",
            " left or down, @code{1}@tie{}represents right or up, and @code{0}"
            " represents a neutral direction.")
 {
-  if (scm_is_number (s))
+  if (scm_is_integer (s))
     {
       int i = scm_to_int (s);
       return (i >= -1 && i <= 1) ? SCM_BOOL_T : SCM_BOOL_F;