summaryrefslogtreecommitdiff
path: root/lily/translator-dispatch-list.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2005-07-24 18:58:43 +0000
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2005-07-24 18:58:43 +0000
commit7f6816438d66f6d70db5b68454d80656a0f3f131 (patch)
tree20c6fabedd6edbc625a2ab779c524ab1ade0f4d7 /lily/translator-dispatch-list.cc
parent4296f55761e5813067f6ac4d259a79b20f148f1e (diff)
* lily/include/translator.hh (class Translator): remove
PRECOMPUTED_VIRTUAL everywhere. * lily/include/lily-guile.hh: inline scm_c[ad]r, scm_is_pair. * lily/context.cc (now_mom): non-recursive now_mom() * lily/grob.cc (Grob): look properties up directly.
Diffstat (limited to 'lily/translator-dispatch-list.cc')
-rw-r--r--lily/translator-dispatch-list.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lily/translator-dispatch-list.cc b/lily/translator-dispatch-list.cc
index 21b6514556..7dac8ea091 100644
--- a/lily/translator-dispatch-list.cc
+++ b/lily/translator-dispatch-list.cc
@@ -17,10 +17,11 @@
void
Engraver_dispatch_list::apply (Grob_info gi)
{
+ Translator *origin = gi.origin_translator ();
for (int i = 0; i < dispatch_entries_.size (); i++)
{
Engraver_dispatch_entry const &e (dispatch_entries_[i]);
- if (e.engraver_ == gi.origin_translator ())
+ if (e.engraver_ == origin)
continue;
(*e.function_) (e.engraver_, gi);