projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432bd75
)
[User32]
author
James Tabor
<james.tabor@reactos.org>
Thu, 7 Jan 2010 18:59:13 +0000
(18:59 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Thu, 7 Jan 2010 18:59:13 +0000
(18:59 +0000)
- 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
reactos/dll/win32/user32/windows/mdi.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/user32/windows/mdi.c
b/reactos/dll/win32/user32/windows/mdi.c
index
6372255
..
7c64403
100644
(file)
--- a/
reactos/dll/win32/user32/windows/mdi.c
+++ b/
reactos/dll/win32/user32/windows/mdi.c
@@
-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);
}