Fixed another non-static structure initializer.
This commit is contained in:
parent
69f18275d5
commit
0c5abf77a3
|
@ -77,11 +77,18 @@ void WINAPI RunFileDlg(
|
||||||
UINT uFlags)
|
UINT uFlags)
|
||||||
{
|
{
|
||||||
|
|
||||||
RUNFILEDLGPARAMS rfdp = {hwndOwner, hIcon, lpstrDirectory, lpstrTitle, lpstrDescription, uFlags} ;
|
RUNFILEDLGPARAMS rfdp;
|
||||||
HRSRC hRes;
|
HRSRC hRes;
|
||||||
LPVOID template;
|
LPVOID template;
|
||||||
TRACE("\n");
|
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)))
|
if(!(hRes = FindResourceA(shell32_hInstance, "SHELL_RUN_DLG", RT_DIALOGA)))
|
||||||
{
|
{
|
||||||
MessageBoxA (hwndOwner, "Couldn't find dialog.", "Nix", MB_OK) ;
|
MessageBoxA (hwndOwner, "Couldn't find dialog.", "Nix", MB_OK) ;
|
||||||
|
|
Loading…
Reference in New Issue