]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
typo fix
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 28 Oct 2010 12:10:38 +0000 (14:10 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 28 Oct 2010 12:10:38 +0000 (14:10 +0200)
server/rcon.pl
server/rcon2irc/rcon2irc.pl

index 6e45769aa197e2581beb04982d96626dc1533487..87eecf05638e067cf5b2fae302aeca74e2e2a033 100755 (executable)
@@ -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
        {
index f1eb7008cc928211f8bd3b8cf4fb5b38cd3e1ac7..856e761b755a06a9e4e65b04b72075d397372cd5 100755 (executable)
@@ -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
        {