mirror of https://github.com/djcb/mu.git
* mu_str_asciify_in_place: fix test to decide whether to replace
This commit is contained in:
parent
3f6b3df477
commit
3edf950fc2
|
@ -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 = '.';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue