fix to remove blank newlines from labels

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
This commit is contained in:
Mason James 2009-01-16 21:16:27 +13:00 committed by Henri-Damien LAURENT
parent 71ae69780d
commit ca9ba8b803
1 changed files with 1 additions and 0 deletions

View File

@ -1098,6 +1098,7 @@ sub DrawSpineText {
}
# loop for each string line
foreach my $str (@strings) {
next if $str eq '';
my $hPos = 0;
my $stringwidth = prStrWidth($str, $fontname, $fontsize);
if ( $$conf_data->{'text_justify'} eq 'R' ) {