summaryrefslogtreecommitdiff
path: root/src/os_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mac.c')
-rw-r--r--src/os_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mac.c b/src/os_mac.c
index 64f0e0919..fbfb11ce6 100644
--- a/src/os_mac.c
+++ b/src/os_mac.c
@@ -118,7 +118,7 @@ mac_expandpath(
#ifdef FEAT_MBYTE
if (has_mbyte)
{
- int len = (*mb_ptr2len_check)(path);
+ int len = (*mb_ptr2len)(path);
STRNCPY(p, path, len);
p += len;