From 60ba35e68d51034a45f1fcb7bfb5ebc361c15ce9 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 29 Oct 2010 16:27:30 +0200 Subject: [PATCH] fix a NUL getting created in rcon2irc when translating U+E000 --- server/rcon.pl | 2 +- server/rcon2irc/rcon2irc.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', '.', '<', '=', '>', -- 2.39.2