X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=server%2Frcon.pl;h=2ecd45c2ef3727b95af70d8af70809ce1b96c97c;hb=5e4dcf48e4385bd4b125f5aefc99e1787bfe54fc;hp=6e45769aa197e2581beb04982d96626dc1533487;hpb=7417fab6d47f1348d97ddfdd89d39aa7d524edfb;p=xonotic%2Fxonotic.git diff --git a/server/rcon.pl b/server/rcon.pl index 6e45769a..2ecd45c2 100755 --- a/server/rcon.pl +++ b/server/rcon.pl @@ -57,7 +57,7 @@ sub color_irc2dp($) } our @text_qfont_table = ( # ripped from DP console.c qfont_table - "\0", '#', '#', '#', '#', '.', '#', '#', + '', '#', '#', '#', '#', '.', '#', '#', '#', 9, 10, '#', ' ', 13, '.', '.', '[', ']', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '.', '<', '=', '>', @@ -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 {