umlaute-fix für space_replacement

This commit is contained in:
Enno Rehling 2002-05-05 10:43:43 +00:00
parent bfee7af458
commit 53031783e2
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ char *
space_replace(char * str, char replace) space_replace(char * str, char replace)
{ {
char * c = str; char * c = str;
while (*c) {if (isspace(*c)) *c = replace; c++;} while (*c) {if (isspace(*(unsigned char*)c)) *c = replace; c++;}
return str; return str;
} }