From 53031783e2259765ed0518dddbf1eea78e298856 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 5 May 2002 10:43:43 +0000 Subject: [PATCH] =?UTF-8?q?umlaute-fix=20f=C3=BCr=20space=5Freplacement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/util/goodies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/util/goodies.c b/src/common/util/goodies.c index 888e725a9..dfaaf53ed 100644 --- a/src/common/util/goodies.c +++ b/src/common/util/goodies.c @@ -90,7 +90,7 @@ char * space_replace(char * str, char replace) { char * c = str; - while (*c) {if (isspace(*c)) *c = replace; c++;} + while (*c) {if (isspace(*(unsigned char*)c)) *c = replace; c++;} return str; }