]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/directional-element-interface.cc
* mf/GNUmakefile: always trace pfa fonts.
[lilypond.git] / lily / directional-element-interface.cc
index aadc62a4db1fe18202cfe87414daeba7860e4d2e..dec6d49ce3a52dde394cc5495dc21097d8a713d3 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -15,7 +15,7 @@
 bool
 Directional_element_interface::has_interface (Grob*me) 
 {
-  return isdir_b (me->get_grob_property ("direction"));
+  return is_direction (me->get_grob_property ("direction"));
 }
 
 Direction
@@ -23,7 +23,7 @@ Directional_element_interface::get (Grob*me)
 {
   // return dir_;
   SCM d= me->get_grob_property ("direction");
-  if (!isdir_b (d))
+  if (!is_direction (d))
     return CENTER;
       
   return to_dir (d);