Commit 1aad87ac authored by György 'Nog' Jeney's avatar György 'Nog' Jeney Committed by Alexandre Julliard

Copy the necessary data from the unicode struct to the ascii one in

DOSFS_FindNext.
parent aeef9b4f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment