Commit af5b4140 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

explorer: Check icon for NULL (Coverity).

parent 26d0105c
......@@ -588,8 +588,11 @@ static BOOL handle_incoming(HWND hwndSource, COPYDATASTRUCT *cds)
if (icon) ret = modify_icon( icon, &nid );
break;
case NIM_SETVERSION:
icon->version = nid.u.uVersion;
ret = TRUE;
if (icon)
{
icon->version = nid.u.uVersion;
ret = TRUE;
}
break;
default:
WINE_FIXME("unhandled tray message: %ld\n", cds->dwData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment