]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/direction.cc
* The grand 2005-2006 replace.
[lilypond.git] / flower / direction.cc
index 797174755bc9e8e86d04617faa99b1b3e7d5c2cf..37ba42b6c18c69f2b48560d603416d77826583c1 100644 (file)
@@ -1,26 +1,22 @@
-/*   
+/*
   direction.cc --  implement Direction
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #include "direction.hh"
+
 #include "string.hh"
 
 String
-direction_str (Direction d, Axis a)
+direction_string (Direction d, Axis a)
 {
   String s ("center");
   if (a == Y_AXIS)
-    {
-       s = ( d == UP ? "up" : "down");
-    }
+    s = (d == UP ? "up" : "down");
   else if (a == X_AXIS)
-    {
-      s = (d == LEFT ? "left" : "right" );
-    }
+    s = (d == LEFT ? "left" : "right");
   return s;
 }