From fd5c01500fca59d3779078d755438c02f209a2c1 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 15 Apr 2017 19:29:15 +0200 Subject: [PATCH] termcol: fix abort on invalid coltable info hash Broken since moved into function in commit v1.8-92-gbcdcb87204 (2017-03-22) [termcol: named function to parse table data]. --- termcol.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termcol.plp b/termcol.plp index 3aece81..571b296 100644 --- a/termcol.plp +++ b/termcol.plp @@ -105,7 +105,7 @@ sub coltable { 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', -- 2.30.0