Commit 98b1d68a authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winemac.drv: Avoid an unneeded lstrlenW() call.

Note that since tiptext is a buffer it cannot be NULL. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b035f5c7
......@@ -123,7 +123,7 @@ static BOOL modify_icon(struct tray_icon *icon, NOTIFYICONDATAW *nid)
if (icon->image)
update_image = TRUE;
if (lstrlenW(icon->tiptext))
if (*icon->tiptext)
update_tooltip = TRUE;
}
else
......
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