mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08:00
[WIN32K:NTUSER] NC_IconForWindow(): Remove redundant if() (#2842)
No impact.
Detected by Cppcheck: identicalInnerCondition.
Addendum to 98060c28c8 (r60622).
This commit is contained in:
@@ -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.
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user