mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[User32]
- Patch by Marcus Meissner : Remove useless NULL check (Coverity). - Will sync to wine after a review of new WOW implementation. svn path=/trunk/; revision=44988
This commit is contained in:
@@ -303,7 +303,7 @@ 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 ? ci->nTotalCreated : 0;
|
||||
total = ci->nTotalCreated;
|
||||
*id = ci ? ci->idFirstChild + ci->nActiveChildren : 0;
|
||||
TRACE("MDI child id %04x\n", *id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user