Commit b7828ac4 authored by Sander van Leeuwen's avatar Sander van Leeuwen Committed by Alexandre Julliard

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

bytes (regardless of ascii/unicode).
parent 4bdd90dc
......@@ -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)
......
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