summaryrefslogtreecommitdiffstats
path: root/src/cmdhist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdhist.c')
-rw-r--r--src/cmdhist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmdhist.c b/src/cmdhist.c
index 96a9b3e95b..6342f02bdd 100644
--- a/src/cmdhist.c
+++ b/src/cmdhist.c
@@ -674,7 +674,7 @@ remove_key_from_history(void)
return;
for ( ; *p; ++p)
- if (STRNCMP(p, "key", 3) == 0 && !isalpha(p[3]))
+ if (STRNCMP(p, "key", 3) == 0 && !SAFE_isalpha(p[3]))
{
p = vim_strchr(p + 3, '=');
if (p == NULL)