ntdll: Pass the start of the string to compose_string().
Fixes a regression caused by 520040dc4a
.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3e0369970d
commit
25d6abb951
|
@ -557,7 +557,7 @@ DWORD ntdll_umbstowcs( const char *src, DWORD srclen, WCHAR *dst, DWORD dstlen )
|
||||||
}
|
}
|
||||||
reslen = dstlen - (dstend - dst);
|
reslen = dstlen - (dstend - dst);
|
||||||
#ifdef __APPLE__ /* work around broken Mac OS X filesystem that enforces NFD */
|
#ifdef __APPLE__ /* work around broken Mac OS X filesystem that enforces NFD */
|
||||||
if (reslen && nfc_table) reslen = compose_string( nfc_table, dst, reslen );
|
if (reslen && nfc_table) reslen = compose_string( nfc_table, dst - reslen, reslen );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return reslen;
|
return reslen;
|
||||||
|
|
Loading…
Reference in New Issue