git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
305b277
)
termcol: fix cell description fallback of index 0
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 1 Nov 2015 02:48:47 +0000
(
03:48
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 10 Nov 2015 21:24:03 +0000
(22:24 +0100)
termcol.plp
patch
|
blob
|
history
diff --git
a/termcol.plp
b/termcol.plp
index 60afba6d564e5dac1829d8f3bcfa88795eceed70..189b89c6a3376e4029f5d514d51395f6d4c98dd3 100644
(file)
--- a/
termcol.plp
+++ b/
termcol.plp
@@
-32,7
+32,7
@@
use Shiar_Sheet::Colour '1.03';
use List::Util qw( min max );
sub colcell {
- my $name = shift
or
return "<td colspan=3>\n";
+ my $name = shift
//
return "<td colspan=3>\n";
my $col = Shiar_Sheet::Colour->new(@_);
my $minhex = $col->rgb24;
my $css = '#' . $col->rgb48;