Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1091)

Unified Diff: lily/multi-measure-rest-engraver.cc

Issue 314300043: Using eq? on numbers is undefined behavior (Closed)
Patch Set: A few more occurences, also affecting strings. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/axis-group-interface.cc ('k') | lily/stencil-integral.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/multi-measure-rest-engraver.cc
diff --git a/lily/multi-measure-rest-engraver.cc b/lily/multi-measure-rest-engraver.cc
index 04ef91fc881a5744ae84615bdf2aadfe042738c5..0a6071b6144de4cb30260789e5f5067762c45590 100644
--- a/lily/multi-measure-rest-engraver.cc
+++ b/lily/multi-measure-rest-engraver.cc
@@ -145,7 +145,7 @@ Multi_measure_rest_engraver::initialize_grobs ()
Grob *last = 0;
for (vsize i = 0; i < text_.size (); i++)
{
- if (scm_is_eq (dir, text_[i]->get_property ("direction")))
+ if (ly_is_equal (dir, text_[i]->get_property ("direction")))
{
if (last)
Side_position_interface::add_support (text_[i], last);
« no previous file with comments | « lily/axis-group-interface.cc ('k') | lily/stencil-integral.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b