Commit c8e3a501 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Correctly set openfilename.lStructSize before calling

GetOpenFileName().
parent c30cefb2
......@@ -533,7 +533,7 @@ void MACRO_FileOpen(void)
szPath[0]='\0';
openfilename.lStructSize = 0;
openfilename.lStructSize = sizeof(OPENFILENAME);
openfilename.hwndOwner = Globals.active_win->hMainWnd;
openfilename.hInstance = Globals.hInstance;
openfilename.lpstrFilter = szzFilter;
......
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