mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WIN32K:NTUSER] NC_IconForWindow(): Remove redundant if() (#2842)
No impact.
Detected by Cppcheck: identicalInnerCondition.
Addendum to 98060c28c8
(r60622).
This commit is contained in:
parent
11345aedd8
commit
938df97b54
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ PCURICON_OBJECT FASTCALL NC_IconForWindow( PWND pWnd )
|
||||||
// it does not use the default icon! And it does not check for DS_MODALFRAME.
|
// it does not use the default icon! And it does not check for DS_MODALFRAME.
|
||||||
if (!hIcon && !(pWnd->ExStyle & WS_EX_DLGMODALFRAME))
|
if (!hIcon && !(pWnd->ExStyle & WS_EX_DLGMODALFRAME))
|
||||||
{
|
{
|
||||||
if (!hIcon) hIcon = gpsi->hIconSmWindows; // Both are IDI_WINLOGO Small
|
hIcon = gpsi->hIconSmWindows; // Both are IDI_WINLOGO Small
|
||||||
if (!hIcon) hIcon = gpsi->hIconWindows; // Reg size.
|
if (!hIcon) hIcon = gpsi->hIconWindows; // Reg size.
|
||||||
}
|
}
|
||||||
if (hIcon)
|
if (hIcon)
|
||||||
|
|
Loading…
Reference in a new issue