aboutsummaryrefslogtreecommitdiff
path: root/src/addr_compl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/addr_compl.c')
-rw-r--r--src/addr_compl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addr_compl.c b/src/addr_compl.c
index b1f6856f..c0718135 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -243,7 +243,7 @@ gchar *get_address_from_edit(GtkEntry *entry, gint *start_pos)
return NULL;
#define IS_VALID_CHAR(x) \
- (isalnum(x) || (x) == '"' || (x) == '<' || ((guchar)(x) > 0x7f))
+ (g_ascii_isalnum(x) || (x) == '"' || (x) == '<' || ((guchar)(x) > 0x7f))
/* now scan back until we hit a valid character */
for (; *p && !IS_VALID_CHAR(*p); p = g_utf8_next_char(p))