- 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:
James Tabor
2010-01-07 18:59:13 +00:00
parent 432bd7570f
commit d688d91275
+1 -1
View File
@@ -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);
}