From 8b602f059f2750fd352d3ab26484b0bb80b2e3a9 Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Sun, 24 Dec 2006 15:30:50 +0000 Subject: [PATCH] Bypass bug in windows, by deleting the content of the applications treeview twice. (Occurs under Windows XP.) Physicus 24.12.2006 14:31: There's a bug in downloader: when you select Internet then click on Firefox then on Games & Fun, you will find putty there. svn path=/trunk/; revision=25223 --- reactos/base/applications/downloader/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/base/applications/downloader/main.c b/reactos/base/applications/downloader/main.c index ac77974cade..12a6b359062 100644 --- a/reactos/base/applications/downloader/main.c +++ b/reactos/base/applications/downloader/main.c @@ -73,6 +73,7 @@ void CategoryChoosen (HWND hwnd, struct Category* Category) ShowMessage(Category->Name, Strings[IDS_NO_APPS]); (void)TreeView_DeleteItem(hwnd, TVI_ROOT); + (void)TreeView_DeleteItem(hwnd, TVI_ROOT); // Delete twice to bypass bug in windows TV_INSERTSTRUCTW Insert; Insert.item.mask = TVIF_TEXT|TVIF_PARAM;