From: Rudolf Polzer Date: Fri, 29 Oct 2010 14:27:30 +0000 (+0200) Subject: fix a NUL getting created in rcon2irc when translating U+E000 X-Git-Tag: xonotic-v0.1.0preview~106 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=60ba35e68d51034a45f1fcb7bfb5ebc361c15ce9;p=xonotic%2Fxonotic.git fix a NUL getting created in rcon2irc when translating U+E000 --- diff --git a/server/rcon.pl b/server/rcon.pl index 87eecf05..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', '.', '<', '=', '>', diff --git a/server/rcon2irc/rcon2irc.pl b/server/rcon2irc/rcon2irc.pl index 856e761b..13d97791 100755 --- a/server/rcon2irc/rcon2irc.pl +++ b/server/rcon2irc/rcon2irc.pl @@ -58,7 +58,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', '.', '<', '=', '>',