diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-12-27 10:26:22 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-12-27 10:29:13 +0100 |
commit | 6ecea097c5a57f39a4815537fdbde2c9c4140d54 (patch) | |
tree | 228c2ea73e68b4242dd5d0c0fb07a01d22d4561d /setup_native | |
parent | dbd8a631bb23c588f52102e5dd2a61c9cd854bc3 (diff) |
fdo#72945 sort languages in Windows custom install tree view
Change-Id: I9a35ee7839373b82b47c0d5cc5b329918d337073
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/sellang/sorttree.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/setup_native/source/win32/customactions/sellang/sorttree.cxx b/setup_native/source/win32/customactions/sellang/sorttree.cxx index 9472a49bd82d..678103689f30 100644 --- a/setup_native/source/win32/customactions/sellang/sorttree.cxx +++ b/setup_native/source/win32/customactions/sellang/sorttree.cxx @@ -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"); |