* mu_str_asciify_in_place: fix test to decide whether to replace
This commit is contained in:
@ -839,7 +839,7 @@ mu_str_asciify_in_place (char *buf)
|
||||
g_return_val_if_fail (buf, NULL);
|
||||
|
||||
for (c = buf; c && *c; ++c) {
|
||||
if (!isascii(*c) || *c < ' ')
|
||||
if (!isprint(*c) && !isspace (*c))
|
||||
*c = '.';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user