mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
[User32]
- Revert 44988, fix crash in win user32 wine test. svn path=/trunk/; revision=45169
This commit is contained in:
parent
25b52444b5
commit
2899820ed5
|
@ -303,8 +303,8 @@ void MDI_CalcDefaultChildPos( HWND hwndClient, INT total, LPPOINT lpPos, INT del
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue