Fixed wrong cast; MSDN says lpDropFileStruct->pFiles is offset in

bytes (regardless of ascii/unicode).
This commit is contained in:
Sander van Leeuwen 2002-06-02 21:23:45 +00:00 committed by Alexandre Julliard
parent 4bdd90dcbc
commit b7828ac478
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ UINT WINAPI DragQueryFileW(
if(!lpDropFileStruct) goto end;
lpwDrop = (LPWSTR) lpDropFileStruct + lpDropFileStruct->pFiles;
lpwDrop = (LPWSTR) ((LPSTR)lpDropFileStruct + lpDropFileStruct->pFiles);
i = 0;
while (i++ < lFile)