Fixed wrong cast; MSDN says lpDropFileStruct->pFiles is offset in
bytes (regardless of ascii/unicode).
This commit is contained in:
parent
4bdd90dcbc
commit
b7828ac478
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue