Fixed another non-static structure initializer.

This commit is contained in:
Gregg Mattinson 2002-07-16 01:15:15 +00:00 committed by Alexandre Julliard
parent 69f18275d5
commit 0c5abf77a3
1 changed files with 41 additions and 34 deletions

View File

@ -77,11 +77,18 @@ void WINAPI RunFileDlg(
UINT uFlags)
{
RUNFILEDLGPARAMS rfdp = {hwndOwner, hIcon, lpstrDirectory, lpstrTitle, lpstrDescription, uFlags} ;
RUNFILEDLGPARAMS rfdp;
HRSRC hRes;
LPVOID template;
TRACE("\n");
rfdp.hwndOwner = hwndOwner;
rfdp.hIcon = hIcon;
rfdp.lpstrDirectory = lpstrDirectory;
rfdp.lpstrTitle = lpstrTitle;
rfdp.lpstrDescription = lpstrDescription;
rfdp.uFlags = uFlags;
if(!(hRes = FindResourceA(shell32_hInstance, "SHELL_RUN_DLG", RT_DIALOGA)))
{
MessageBoxA (hwndOwner, "Couldn't find dialog.", "Nix", MB_OK) ;