From b573c14f9da5f53b6c937b06d9273333b690678f Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Thu, 18 Apr 2013 23:02:06 +0100 Subject: [PATCH] Fix unneeded space after the mode --- chant_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chant_edit.php b/chant_edit.php index b50fd22..c2b01d4 100644 --- a/chant_edit.php +++ b/chant_edit.php @@ -130,7 +130,7 @@ function mgabc2tex($c, $firstverse = False) { if($c['mode'] == 'p') { $mode = "T. pereg."; } else { - $mode = $c['mode'].' '.$c['mode_var']; + $mode = $c['mode'].($c['mode_var']?' '.$c['mode_var']:''); } $tex .= '\gresetsecondannotation{\small \textbf{'.$mode.".}}\n"; }