explorer: Check icon for NULL (Coverity).

Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2016-10-19 09:22:48 +02:00 committed by Alexandre Julliard
parent 26d0105cd8
commit af5b414000
1 changed files with 5 additions and 2 deletions

View File

@ -588,8 +588,11 @@ static BOOL handle_incoming(HWND hwndSource, COPYDATASTRUCT *cds)
if (icon) ret = modify_icon( icon, &nid );
break;
case NIM_SETVERSION:
if (icon)
{
icon->version = nid.u.uVersion;
ret = TRUE;
}
break;
default:
WINE_FIXME("unhandled tray message: %ld\n", cds->dwData);