fdo#72945 sort languages in Windows custom install tree view

Change-Id: I9a35ee7839373b82b47c0d5cc5b329918d337073
This commit is contained in:
Andras Timar 2013-12-27 10:26:22 +01:00
parent dbd8a631bb
commit 6ecea097c5

View File

@ -34,13 +34,7 @@ extern "C" UINT __stdcall SortTree(MSIHANDLE)
OutputDebugString("SortTree: SysTreeView32 not found\n");
return ERROR_SUCCESS;
}
HTREEITEM treeRoot = TreeView_GetRoot(hwndTV);
if (treeRoot == NULL)
{
OutputDebugString("SortTree: TreeView_GetRoot failed\n");
return ERROR_SUCCESS;
}
HTREEITEM optional = TreeView_GetNextSibling(hwndTV, treeRoot);
HTREEITEM optional = TreeView_GetRoot(hwndTV);
if (optional == NULL)
{
OutputDebugString("SortTree: Optional Components branch not found\n");