forked from github/server
umlaute-fix für space_replacement
This commit is contained in:
parent
bfee7af458
commit
53031783e2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue