]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/open-type-font.cc
Replace C++ (in)equality checks with proper SCM syntax
[lilypond.git] / lily / open-type-font.cc
index 255d5e2b18ca8f36c1e30cc8bf15faf0ea2a6b6f..255f7caa0d1431e88e1c18eddb2c52284bbebca8 100644 (file)
@@ -162,7 +162,7 @@ Open_type_font::attachment_point (const string &glyph_name) const
   SCM entry = scm_hashq_ref (lily_character_table_, sym, SCM_BOOL_F);
 
   Offset o;
-  if (entry == SCM_BOOL_F)
+  if (scm_is_false (entry))
     return o;
 
   SCM char_alist = entry;
@@ -196,7 +196,7 @@ Open_type_font::get_indexed_char_dimensions (size_t signed_idx) const
       SCM sym = ly_symbol2scm (name);
       SCM alist = scm_hashq_ref (lily_character_table_, sym, SCM_BOOL_F);
 
-      if (alist != SCM_BOOL_F)
+      if (scm_is_true (alist))
         {
           SCM bbox = scm_cdr (scm_assq (ly_symbol2scm ("bbox"), alist));