appwiz: ignore Apps without title in the list(try 2)

André Hentschel nerv at dawncrow.de
Mon Oct 26 07:17:28 CDT 2009


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



More information about the wine-devel mailing list