]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/side-position-interface.cc
Nitpick run.
[lilypond.git] / lily / side-position-interface.cc
index a4dc76cf8e3b0880bae22d5f36f9cbdc399c55f3..0acb79da215d8626140a98c025950967928e6f3c 100644 (file)
@@ -39,16 +39,12 @@ Side_position_interface::get_direction (Grob *me)
   Direction relative_dir = Direction (1);
   SCM reldir = me->get_property ("side-relative-direction");   // should use a lambda.
   if (is_direction (reldir))
-    {
-      relative_dir = to_dir (reldir);
-    }
+    relative_dir = to_dir (reldir);
 
   SCM other_elt = me->get_object ("direction-source");
   Grob *e = unsmob_grob (other_elt);
   if (e)
-    {
-      return (Direction) (relative_dir * get_grob_direction (e));
-    }
+    return (Direction) (relative_dir * get_grob_direction (e));
 
   return CENTER;
 }