projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71ae697
)
fix to remove blank newlines from labels
author
Mason James
<mason.loves.sushi@gmail.com>
Fri, 16 Jan 2009 08:16:27 +0000
(21:16 +1300)
committer
Henri-Damien LAURENT
<henridamien@koha-fr.org>
Tue, 27 Jan 2009 11:19:47 +0000
(12:19 +0100)
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
C4/Labels.pm
patch
|
blob
|
history
diff --git
a/C4/Labels.pm
b/C4/Labels.pm
index
79d5251
..
65c62a7
100644
(file)
--- a/
C4/Labels.pm
+++ b/
C4/Labels.pm
@@
-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' ) {