Copy the necessary data from the unicode struct to the ascii one in
DOSFS_FindNext.
This commit is contained in:
parent
aeef9b4f71
commit
1aad87acc5
|
@ -1878,6 +1878,14 @@ int DOSFS_FindNext( const char *path, const char *short_mask,
|
|||
WideCharToMultiByte(CP_ACP, 0, entryW.cAlternateFileName, -1,
|
||||
entry->cAlternateFileName, sizeof(entry->cAlternateFileName), NULL, NULL);
|
||||
count = info.cur_pos - skip;
|
||||
|
||||
entry->dwFileAttributes = entryW.dwFileAttributes;
|
||||
entry->nFileSizeHigh = entryW.nFileSizeHigh;
|
||||
entry->nFileSizeLow = entryW.nFileSizeLow;
|
||||
entry->ftCreationTime = entryW.ftCreationTime;
|
||||
entry->ftLastAccessTime = entryW.ftLastAccessTime;
|
||||
entry->ftLastWriteTime = entryW.ftLastWriteTime;
|
||||
|
||||
}
|
||||
else
|
||||
count = 0;
|
||||
|
|
Loading…
Reference in New Issue