From: Alex Schwartz <alexschwartz01@gmail.com> --- dlls/win32u/defwnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/win32u/defwnd.c b/dlls/win32u/defwnd.c index 2c76f41f9b8..a09784e06a3 100644 --- a/dlls/win32u/defwnd.c +++ b/dlls/win32u/defwnd.c @@ -420,10 +420,10 @@ static HICON set_window_icon( HWND hwnd, WPARAM type, HICON icon ) icon = win->hIcon; icon_small = win->hIconSmall2 ? win->hIconSmall2 : win->hIconSmall; - BOOL hasIcons = win->has_icons = !is_child && user_driver->pNeedsToplevelIcon(hwnd); + BOOL need_icons = win->has_icons = !is_child && user_driver->pNeedsToplevelIcon(hwnd); release_win_ptr( win ); - if (hasIcons && (icon = get_window_icon_info( hwnd, ICON_BIG, icon, &ii ))) + if (need_icons && (icon = get_window_icon_info( hwnd, ICON_BIG, icon, &ii ))) { icon_small = get_window_icon_info( hwnd, ICON_SMALL, icon_small, &ii_small ); user_driver->pSetWindowIcons( hwnd, icon, &ii, icon_small, &ii_small ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9832