From 8a35ad996dcea67721b8ba74afbfbc90a10ecbfe Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Tue, 30 Apr 2013 16:04:06 +0200 Subject: [PATCH] libvideosite: Allow calls to _io without arguments (to print an empty line) --- libvideosite.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvideosite.pm b/libvideosite.pm index bebc8a5..b581e5a 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -130,6 +130,8 @@ sub _io { my @text = @_; my $format; + @text = ('') unless(@text); + # This will define the outputprefix once, so we don't have # do do this every time. $outputprefix = sprintf("%svideosite: %s", -- 1.8.3.1