From ab44804260e6646801675e3ff42d44fca9e2a301 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 24 Sep 2005 14:50:14 +0000 Subject: [PATCH] Unquakified some prints. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1363 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/parse.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/fteqtv/parse.c b/fteqtv/parse.c index 58d883d3e..5e5990bc7 100644 --- a/fteqtv/parse.c +++ b/fteqtv/parse.c @@ -348,10 +348,18 @@ static void ParsePrint(sv_t *tv, netmsg_t *m, int to, unsigned int mask) { for (t = (unsigned char*)text; *t; t++) { - if (*t > 128) + if (*t >= 146 && *t < 156) + *t = *t - 146 + '0'; + if (*t == 143) + *t = '.'; + if (*t == 157 || *t == 158 || *t == 159) + *t = '-'; + if (*t >= 128) *t -= 128; if (*t == 16) *t = '['; + if (*t == 17) + *t = ']'; } printf("%s", text); }