[ros-diffs] [jimtabor] 45169: [User32] - Revert 44988, fix crash in win user32 wine test.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Thu Jan 21 01:49:26 CET 2010


Author: jimtabor
Date: Thu Jan 21 01:49:25 2010
New Revision: 45169

URL: http://svn.reactos.org/svn/reactos?rev=45169&view=rev
Log:
[User32]
- Revert 44988, fix crash in win user32 wine test.

Modified:
    trunk/reactos/dll/win32/user32/windows/mdi.c

Modified: trunk/reactos/dll/win32/user32/windows/mdi.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/mdi.c?rev=45169&r1=45168&r2=45169&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] Thu Jan 21 01:49:25 2010
@@ -303,8 +303,8 @@
     if (total < 0) /* we are called from CreateWindow */
     {
         MDICLIENTINFO *ci = get_client_info(hwndClient);
-        total = ci->nTotalCreated;
-        *id = ci ? ci->idFirstChild + ci->nActiveChildren : 0;
+        total = ci ? ci->nTotalCreated : 0;                     // Do not portsync wine
+        *id = ci ? ci->idFirstChild + ci->nActiveChildren : 0;  // Do not portsync wine
         TRACE("MDI child id %04x\n", *id);
     }
 




More information about the Ros-diffs mailing list