summaryrefslogtreecommitdiff
path: root/src/os_mac_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mac_conv.c')
-rw-r--r--src/os_mac_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mac_conv.c b/src/os_mac_conv.c
index eed0ebbe9..c255e736d 100644
--- a/src/os_mac_conv.c
+++ b/src/os_mac_conv.c
@@ -129,7 +129,7 @@ mac_string_convert(ptr, len, lenp, fail_on_error, from_enc, to_enc, unconvlenp)
for (d = retval, in = 0, out = 0; in < len && out < buflen - 1;)
{
if (from == kCFStringEncodingUTF8)
- l = utf_ptr2len_check(ptr + in);
+ l = utf_ptr2len(ptr + in);
else
l = 1;
cfstr = CFStringCreateWithBytes(NULL, ptr + in, l, from, 0);