]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-head.cc
* lily/book.cc (to_stencil): New method.
[lilypond.git] / lily / note-head.cc
index 15841c801c0f86c4161ce807f437ae65ac135413..39f57e848c82c48d7b65154359d5c42ba90067f9 100644 (file)
@@ -72,12 +72,10 @@ Note_head::brew_ledger_lines (Grob *me,
 {
   Grob *staff = Staff_symbol_referencer::get_staff_symbol (me);
   Real inter_f = Staff_symbol_referencer::staff_space (me)/2;
-  int line_count = (abs (pos) < interspaces)
-    ? 0
-    : (abs (pos) - interspaces) / 2;
-  Stencil stencil = Stencil ();
-
-
+  int line_count = ((abs (pos) < interspaces)
+                   ? 0
+                   : (abs (pos) - interspaces) / 2);
+  Stencil stencil;
   if (line_count)
     {
       Real ledgerlinethickness =