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:
parent
26d0105cd8
commit
af5b414000
|
@ -588,8 +588,11 @@ static BOOL handle_incoming(HWND hwndSource, COPYDATASTRUCT *cds)
|
||||||
if (icon) ret = modify_icon( icon, &nid );
|
if (icon) ret = modify_icon( icon, &nid );
|
||||||
break;
|
break;
|
||||||
case NIM_SETVERSION:
|
case NIM_SETVERSION:
|
||||||
icon->version = nid.u.uVersion;
|
if (icon)
|
||||||
ret = TRUE;
|
{
|
||||||
|
icon->version = nid.u.uVersion;
|
||||||
|
ret = TRUE;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
WINE_FIXME("unhandled tray message: %ld\n", cds->dwData);
|
WINE_FIXME("unhandled tray message: %ld\n", cds->dwData);
|
||||||
|
|
Loading…
Reference in New Issue