winemac.drv: Avoid an unneeded lstrlenW() call.
Note that since tiptext is a buffer it cannot be NULL. Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b035f5c74c
commit
98b1d68aac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue