From f4897860b50e2d1cc3b97a00d1f5a2e9e9c04faa Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 27 Jan 2002 20:45:59 +0000 Subject: toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/translation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-common/core/translation.c') diff --git a/src/fe-common/core/translation.c b/src/fe-common/core/translation.c index c674b9a2..d573fc17 100644 --- a/src/fe-common/core/translation.c +++ b/src/fe-common/core/translation.c @@ -50,7 +50,7 @@ void translate_output(char *text) } #define gethex(a) \ - (isdigit(a) ? ((a)-'0') : (toupper(a)-'A'+10)) + (i_isdigit(a) ? ((a)-'0') : (i_toupper(a)-'A'+10)) void translation_parse_line(const char *str, int *pos) { -- cgit v1.2.3