From 9722a476e658f7c2e38baf72e567c181e949d7ac Mon Sep 17 00:00:00 2001 From: Alexandr Prenko Date: Sat, 22 May 2010 01:17:50 +0300 Subject: [PATCH] Fixed bug: Wrong last char processing in handle_alt_font --- src/man2hlp/man2hlp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/man2hlp/man2hlp.in b/src/man2hlp/man2hlp.in index 387533835..7a2ac3275 100644 --- a/src/man2hlp/man2hlp.in +++ b/src/man2hlp/man2hlp.in @@ -409,7 +409,7 @@ sub handle_alt_font($) { shift @p; # Don't change font if we are at the end - if ($#p) + if (@p) { $alt_state = $alt_state ? 0 : 1; $buffer .= $font[$alt_state];