X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=server%2Frcon.pl;h=2ecd45c2ef3727b95af70d8af70809ce1b96c97c;hp=6e45769aa197e2581beb04982d96626dc1533487;hb=0360202b4d19c963ae5f57f42ed370a6de67799a;hpb=7417fab6d47f1348d97ddfdd89d39aa7d524edfb 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 {