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

DOSFS_FindNext.
This commit is contained in:
György 'Nog' Jeney 2002-10-28 18:49:52 +00:00 committed by Alexandre Julliard
parent aeef9b4f71
commit 1aad87acc5
1 changed files with 8 additions and 0 deletions

View File

@ -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;