mirror of
https://github.com/reactos/wine.git
synced 2025-02-20 12:50:53 +00:00
appwiz: Ignore apps without title in the list.
This commit is contained in:
parent
da86e727bd
commit
a5107da440
@ -340,13 +340,15 @@ end:
|
||||
*/
|
||||
static void AddApplicationsToList(HWND hWnd, HIMAGELIST hList)
|
||||
{
|
||||
APPINFO *iter = AppInfo;
|
||||
APPINFO *iter;
|
||||
LVITEMW lvItem;
|
||||
HICON hIcon;
|
||||
int index;
|
||||
|
||||
while (iter)
|
||||
for (iter = AppInfo; iter; iter = iter->next)
|
||||
{
|
||||
if (!iter->title[0]) continue;
|
||||
|
||||
/* get the icon */
|
||||
index = 0;
|
||||
|
||||
@ -371,8 +373,6 @@ static void AddApplicationsToList(HWND hWnd, HIMAGELIST hList)
|
||||
/* now add the subitems (columns) */
|
||||
ListView_SetItemTextW(hWnd, index, 1, iter->publisher);
|
||||
ListView_SetItemTextW(hWnd, index, 2, iter->version);
|
||||
|
||||
iter = iter->next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user