]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-determine-loose-columns.cc
Replace C++ (in)equality checks with proper SCM syntax
[lilypond.git] / lily / spacing-determine-loose-columns.cc
index e7e0a7f3f7014abbbec216d646d68eb2fa51df5a..87dd3ff197bd337c9d375ad4aef1fc2a8d3352fe 100644 (file)
@@ -115,7 +115,8 @@ is_loose_column (Grob *l, Grob *col, Grob *r, Spacing_options const *options)
             {
               Grob *h = gelts[j];
 
-              if (h && h->get_property ("break-align-symbol") == ly_symbol2scm ("staff-bar"))
+              if (h && scm_is_eq (h->get_property ("break-align-symbol"),
+                                  ly_symbol2scm ("staff-bar")))
                 {
                   extract_grob_set (h, "elements", helts);
                   for (vsize k = helts.size (); k--;)