From 593e5062d59fddbd2eb0454c064f53a95947f2e9 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 5 Feb 2007 23:02:41 +0100 Subject: [PATCH] cache minimum-?-extent symbols in align-interface.c --- lily/align-interface.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lily/align-interface.cc b/lily/align-interface.cc index efb7986a21..7294335bd9 100644 --- a/lily/align-interface.cc +++ b/lily/align-interface.cc @@ -129,7 +129,9 @@ get_skylines (Grob *me, /* this is perhaps an abuse of minimum-?-extent: maybe we should create another property? But it seems that the only (current) use of minimum-Y-extent is to separate vertically-aligned elements */ - SCM min_extent = g->get_property (a == X_AXIS ? "minimum-X-extent" : "minimum-Y-extent"); + SCM min_extent = g->get_property (a == X_AXIS + ? ly_symbol2scm ("minimum-X-extent") + : ly_symbol2scm ("minimum-Y-extent")); if (is_number_pair (min_extent)) { -- 2.39.2