Correctly set openfilename.lStructSize before calling

GetOpenFileName().
This commit is contained in:
Pavel Roskin 2003-10-01 03:04:14 +00:00 committed by Alexandre Julliard
parent c30cefb2d5
commit c8e3a50197
1 changed files with 1 additions and 1 deletions

View File

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