diff --git a/programs/explorer/systray.c b/programs/explorer/systray.c index 00036ff8d79..48c29cb5a1a 100644 --- a/programs/explorer/systray.c +++ b/programs/explorer/systray.c @@ -155,7 +155,7 @@ static struct icon *get_icon(HWND owner, UINT id) /* search for the icon */ LIST_FOR_EACH_ENTRY( this, &tray.icons, struct icon, entry ) - if ((this->id == id) && (this->owner = owner)) return this; + if ((this->id == id) && (this->owner == owner)) return this; return NULL; }