Non-static structure initializers (again)
Gregg Mattinson
gm138242 at scot.canada.sun.com
Fri Jul 12 13:57:20 CDT 2002
ChangeLog: dlls/shell32/dialogs.c
- Fixed another non-static structure initializer that appeared in 20020710
Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada
-------------- next part --------------
Index: dlls/shell32/dialogs.c
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/dlls/shell32/dialogs.c,v
retrieving revision 1.2
diff -u -r1.2 dialogs.c
--- /tmp/T0n1aqfX Fri Jul 12 09:59:44 2002
+++ dialogs.c Thu Jul 11 15:09:22 2002
@@ -77,10 +77,17 @@
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)))
{
More information about the wine-patches
mailing list