From: Rudolf Polzer Date: Thu, 28 Oct 2010 12:10:38 +0000 (+0200) Subject: typo fix X-Git-Tag: xonotic-v0.1.0preview~107 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=7ff77dec7a8d6e6288ed5988ca376a78c9547953 typo fix --- 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 {