projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9d587
)
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.laurent@biblibre.com>
Thu, 30 Apr 2009 12:30:38 +0000
(14:30 +0200)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Labels.pm
patch
|
blob
|
history
diff --git
a/C4/Labels.pm
b/C4/Labels.pm
index
827ce91
..
14d3227
100644
(file)
--- a/
C4/Labels.pm
+++ b/
C4/Labels.pm
@@
-1077,6
+1077,7
@@
sub DrawSpineText {
# loop for each string line
foreach my $str (@strings) {
my $hPos = $x_pos;
+ next if $str eq '';
my $stringwidth = prStrWidth($str, $fontname, $fontsize);
if ( $$conf_data->{'text_justify'} eq 'R' ) {
$hPos += $label_width - ($left_text_margin + $stringwidth);