* mu_str_asciify_in_place: fix test to decide whether to replace

This commit is contained in:
djcb 2014-02-15 13:20:17 +02:00
parent 3f6b3df477
commit 3edf950fc2
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '.';
}