James Hawkins : msi: Sort SelectionTree items by their Display value.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 19 04:02:33 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 2396e2a59f822dd10975e82ed8224e1fe4b883c7
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2396e2a59f822dd10975e82ed8224e1fe4b883c7
Author: James Hawkins <truiken at gmail.com>
Date: Tue Jul 18 11:40:44 2006 -0700
msi: Sort SelectionTree items by their Display value.
---
dlls/msi/action.c | 3 ++-
dlls/msi/dialog.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 6723f9f..2c0644c 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1345,7 +1345,8 @@ static UINT ACTION_CostInitialize(MSIPAC
UINT rc;
static const WCHAR Query_all[] =
{'S','E','L','E','C','T',' ','*',' ', 'F','R','O','M',' ',
- '`','F','e','a','t','u','r','e','`',0};
+ '`','F','e','a','t','u','r','e','`',' ','O','R','D','E','R',
+ ' ','B','Y',' ','`','D','i','s','p','l','a','y','`',0};
static const WCHAR szCosting[] =
{'C','o','s','t','i','n','g','C','o','m','p','l','e','t','e',0 };
static const WCHAR szZero[] = { '0', 0 };
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index d8e7cf5..0543555 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -1610,7 +1610,7 @@ msi_seltree_add_child_features( MSIPACKA
memset( &tvis, 0, sizeof tvis );
tvis.hParent = hParent;
- tvis.hInsertAfter = TVI_SORT;
+ tvis.hInsertAfter = TVI_LAST;
tvis.u.item.mask = TVIF_TEXT | TVIF_PARAM;
tvis.u.item.pszText = feature->Title;
tvis.u.item.lParam = (LPARAM) feature;
More information about the wine-cvs
mailing list