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 (parent:
ec0363c
)
termcol: fix abort on invalid coltable info hash
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 15 Apr 2017 17:29:15 +0000
(19:29 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 25 May 2017 20:10:22 +0000
(22:10 +0200)
Broken since moved into function in commit
v1.8-92-gbcdcb87204
(2017-03-22)
[termcol: named function to parse table data].
termcol.plp
patch
|
blob
|
history
diff --git
a/termcol.plp
b/termcol.plp
index 3aece81cf64f052ba6fa37283e854d34788e2891..571b2968b9a8d837ddf000d7aae2d34d5bcb9f5e 100644
(file)
--- a/
termcol.plp
+++ b/
termcol.plp
@@
-105,7
+105,7
@@
sub coltable {
coltable($_) for @{$info};
}
coltable($_) for @{$info};
}
- ref $info eq 'HASH' or
next
;
+ ref $info eq 'HASH' or
return
;
my $caption = $info->{name} // $term;
$caption = sprintf('<%s %s>%s</%1$s>',
my $caption = $info->{name} // $term;
$caption = sprintf('<%s %s>%s</%1$s>',