summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index de478a3ed..607bb392e 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -2621,7 +2621,7 @@ spell_iswordp(
if (has_mbyte)
{
- l = MB_PTR2LEN(p);
+ l = mb_ptr2len(p);
s = p;
if (l == 1)
{