Kaydet (Commit) 6ecea097 authored tarafından Andras Timar's avatar Andras Timar

fdo#72945 sort languages in Windows custom install tree view

Change-Id: I9a35ee7839373b82b47c0d5cc5b329918d337073
üst dbd8a631
...@@ -34,13 +34,7 @@ extern "C" UINT __stdcall SortTree(MSIHANDLE) ...@@ -34,13 +34,7 @@ extern "C" UINT __stdcall SortTree(MSIHANDLE)
OutputDebugString("SortTree: SysTreeView32 not found\n"); OutputDebugString("SortTree: SysTreeView32 not found\n");
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
HTREEITEM treeRoot = TreeView_GetRoot(hwndTV); HTREEITEM optional = TreeView_GetRoot(hwndTV);
if (treeRoot == NULL)
{
OutputDebugString("SortTree: TreeView_GetRoot failed\n");
return ERROR_SUCCESS;
}
HTREEITEM optional = TreeView_GetNextSibling(hwndTV, treeRoot);
if (optional == NULL) if (optional == NULL)
{ {
OutputDebugString("SortTree: Optional Components branch not found\n"); OutputDebugString("SortTree: Optional Components branch not found\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment