]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-check-iterator.cc
Issue4141/2: Use Xxx:is_smob instead of Xxx:unsmob when used in boolean contexts
[lilypond.git] / lily / bar-check-iterator.cc
index 848736b8d4ca9ae1fdde2511a83ec57be721fa2d..79e346365df8a76b5c45f7f50ebc62852125a65b 100644 (file)
@@ -73,7 +73,7 @@ Bar_check_iterator::process (Moment m)
           else
             {
               SCM lf = tr->get_property ("barCheckLastFail");
-              if (Moment::unsmob (lf)
+              if (Moment::is_smob (lf)
                   && *Moment::unsmob (lf) == *where)
                 warn = false;
               else