]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/simple-spacer.cc
Issue 3687 (part 2): Amend docs to use \compressMMRests
[lilypond.git] / lily / simple-spacer.cc
index 1f2f5aaa6ddbfd6e181e1ec73e6263b9f6d1492e..ada16593aa7e6b1441360413f714cc58d2a1afc5 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   TODO:
   - add support for different stretch/shrink constants?
@@ -528,7 +528,7 @@ get_line_configuration (vector<Grob *> const &columns,
   for (vsize i = 1; i + 1 < ret.cols_.size (); i++)
     {
       SCM p = ret.cols_[i]->get_property ("line-break-permission");
-      if (p == ly_symbol2scm ("force"))
+      if (scm_is_eq (p, ly_symbol2scm ("force")))
         ret.satisfies_constraints_ = false;
     }