From 7ff77dec7a8d6e6288ed5988ca376a78c9547953 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 28 Oct 2010 14:10:38 +0200 Subject: [PATCH] typo fix --- server/rcon.pl | 2 +- server/rcon2irc/rcon2irc.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/rcon.pl b/server/rcon.pl index 6e45769a..87eecf05 100755 --- a/server/rcon.pl +++ b/server/rcon.pl @@ -96,7 +96,7 @@ sub text_qfont_table($) my $o = ord $char; if($color_utf8_enable) { - return ($o & 0xFF00 == 0xE000) ? $text_qfont_table[$o & 0xFF] : $char; + return (($o & 0xFF00) == 0xE000) ? $text_qfont_table[$o & 0xFF] : $char; } else { diff --git a/server/rcon2irc/rcon2irc.pl b/server/rcon2irc/rcon2irc.pl index f1eb7008..856e761b 100755 --- a/server/rcon2irc/rcon2irc.pl +++ b/server/rcon2irc/rcon2irc.pl @@ -97,7 +97,7 @@ sub text_qfont_table($) my $o = ord $char; if($color_utf8_enable) { - return ($o & 0xFF00 == 0xE000) ? $text_qfont_table[$o & 0xFF] : $char; + return (($o & 0xFF00) == 0xE000) ? $text_qfont_table[$o & 0xFF] : $char; } else { -- 2.39.2