Skip to content
Snippets Groups Projects
Commit daef3e6a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix longa duration

parent 97d2977f
No related branches found
No related tags found
No related merge requests found
......@@ -633,7 +633,7 @@ sub raw_notehead {
my ($duration, $dots) = @_;
my %du=("0", "long", "9", "breve", "1", "whole", "2", "half", "4", "quarter",
"8", "eighth", "6", "16th", "3", "32nd", "5", "64th", "7", "128th");
if ($duration && $du{$duration}) {
if (($duration ne "") && $du{$duration}) {
my $res = " <type>$du{$duration}</type>\n";
$res .= repeat (" <dot/>\n", length ($dots));
return $res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment