appwiz: ignore Apps without title in the list(try 2)
Vitaliy Margolen
wine-devel at kievinfo.com
Sun Oct 25 14:25:40 CDT 2009
André Hentschel wrote:
> Also fixes Bug 20417
> Sorry, little blackout after vacation in try1...
> ---
> @@ -347,6 +347,12 @@ static void AddApplicationsToList(HWND hWnd, HIMAGELIST hList)
>
> while (iter)
> {
> + if(!strlenW(iter->title))
This is the same as "if (!iter->title[0])". Please don't use strlen to check
for zero length strings. It's expensive if string isn't empty.
Vitaliy.
More information about the wine-devel
mailing list