mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 05:02:33 -05:00
winsim: Fix filesystem access
Corrects a regression introduced in
a2c10f6189
Change-Id: I9a27a6192ff6a9d1be7829d23d23dbf98b84feae
This commit is contained in:
parent
bfcd8270c9
commit
60ddb02573
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ static int win32_stat(const char *ospath, LPBY_HANDLE_FILE_INFORMATION lpInfo);
|
|||
static unsigned short * strcpy_utf8utf16(unsigned short *buffer,
|
||||
const unsigned char *utf8)
|
||||
{
|
||||
for (wchar_t *ucs = buffer; *ucs ; ucs++) {
|
||||
ucschar_t cp;
|
||||
ucschar_t cp = 0xffffffff;
|
||||
for (wchar_t *ucs = buffer; cp ; ucs++) {
|
||||
utf8 = utf8decode(utf8, &cp);
|
||||
#ifdef UNICODE32
|
||||
if (cp > 0x10000) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue