Fix unneeded space after the mode

This commit is contained in:
Olivier Berten 2013-04-18 23:02:06 +01:00
parent ff16ae12d0
commit b573c14f9d

View File

@ -130,7 +130,7 @@ function mgabc2tex($c, $firstverse = False) {
if($c['mode'] == 'p') { if($c['mode'] == 'p') {
$mode = "T. pereg."; $mode = "T. pereg.";
} else { } else {
$mode = $c['mode'].' '.$c['mode_var']; $mode = $c['mode'].($c['mode_var']?' '.$c['mode_var']:'');
} }
$tex .= '\gresetsecondannotation{\small \textbf{'.$mode.".}}\n"; $tex .= '\gresetsecondannotation{\small \textbf{'.$mode.".}}\n";
} }