1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-22 07:06:48 +02:00

Potential fix for issue #433: make check fails on Scientific Linux 6

This commit is contained in:
David C Sterratt 2014-06-05 14:07:13 +01:00
parent a36d4bd72f
commit f0510fbf35

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 (!isprint(*c) && !isspace (*c))
if ((!isprint(*c) && !isspace (*c)) || !isascii(*c))
*c = '.';
}