]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-scheme.cc
Merge branch 'master' into lilypond/translation
[lilypond.git] / lily / general-scheme.cc
index 47613b5ca3b8650f52a10c284d7430e8c72af4b4..af2bcd73b4337e06689c74615a2310b0cf60996f 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_integer (s))
+  if (scm_is_number (s))
     {
       int i = scm_to_int (s);
       return (i >= -1 && i <= 1) ? SCM_BOOL_T : SCM_BOOL_F;