Re: appwiz: ignore Apps without title in the list(try 2)
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.
Vitaliy Margolen schrieb:
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.
Thanks, you are right. try 3 sent. -- Best Regards, André Hentschel
participants (2)
-
André Hentschel -
Vitaliy Margolen