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

André Hentschel nerv at dawncrow.de
Mon Oct 26 07:16:54 CDT 2009


Also fixes Bug 20417
Sorry, little blackout after vacation in try1...
And as it seems in try2, too...
---
 dlls/appwiz.cpl/appwiz.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/appwiz.cpl/appwiz.c b/dlls/appwiz.cpl/appwiz.c
index 0d9e555..40096c8 100644
--- a/dlls/appwiz.cpl/appwiz.c
+++ b/dlls/appwiz.cpl/appwiz.c
@@ -347,6 +347,12 @@ static void AddApplicationsToList(HWND hWnd, HIMAGELIST hList)
 
     while (iter)
     {
+        if (!iter->title[0])
+        {
+            iter = iter->next;
+            continue;
+        }
+
         /* get the icon */
         index = 0;
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list