Non-static structure initializers (again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog: dlls/shell32/dialogs.c
 - Fixed another non-static structure initializer that appeared in 20020710
 
Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada

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)))
         {

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux