... hey, how does hspace #0 do anything? if amount=0, then surely
\hspace shouldn't do anything?
(if (> amount 0)
(ly:make-stencil "" (cons 0 amount) '(-1 . 1))
(ly:make-stencil "" (cons amount amount) '(-1 . 1))))
Hint: Translated to C, this means something like
if (amount > 0)
return make-stencil(0, amount, -1, 1);
else
return make-stencil(amount, amount, -1, 1);
/Mats
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel