summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index b1b4b4d8..012b4da1 100644
--- a/parser.c
+++ b/parser.c
@@ -501,7 +501,7 @@ static void provide_completions(const char *data,
if (!ptr)
return;
- while ((isalnum((unsigned char) *ptr) || strchr(gly, *ptr)) &&
+ while ((isalnum(convert(unsigned char, *ptr)) || strchr(gly, *ptr)) &&
(sym = ptr) && ptr > data)
ptr--;
@@ -516,7 +516,7 @@ static void provide_completions(const char *data,
} else {
ptr--;
- while ((isalnum((unsigned char) *ptr) || strchr(gly, *ptr)) &&
+ while ((isalnum(convert(unsigned char, *ptr)) || strchr(gly, *ptr)) &&
(pkg = ptr) && ptr > data)
ptr--;