Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* mu_str_asciify_in_place: fix test to decide whether to replace

  • Loading branch information...
commit 3edf950fc2a06a1229297fecd3acffdc0a5ef608 1 parent 3f6b3df
@djcb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mu-str.c
View
2  lib/mu-str.c
@@ -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 = '.';
}
Please sign in to comment.
Something went wrong with that request. Please try again.