X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffont-select.cc;h=a633e685f2d37fb2626b1310264cb724ddcc482a;hb=d06ebc90ec926e435ec00f5fb18dec838928df20;hp=3de5a2a454bb2c79b5af365eed7d8bae87d33cdc;hpb=bb8a0a5387af94dd2702877256334b160575a730;p=lilypond.git diff --git a/lily/font-select.cc b/lily/font-select.cc index 3de5a2a454..a633e685f2 100644 --- a/lily/font-select.cc +++ b/lily/font-select.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2003--2011 Han-Wen Nienhuys + Copyright (C) 2003--2012 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -123,7 +123,7 @@ select_encoded_font (Output_def *layout, SCM chain) return select_pango_font (layout, chain); else #endif - if (scm_instance_p (name)) + if (scm_is_true (scm_instance_p (name))) { SCM base_size = scm_slot_ref (name, ly_symbol2scm ("default-size")); SCM vec = scm_slot_ref (name, ly_symbol2scm ("size-vector"));