mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 20:18:28 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue