James Hawkins : msi: Expand features with odd Display values.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 21 13:49:23 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: e295bd97431fefdeac74f4c5c340c266bae1dd75
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e295bd97431fefdeac74f4c5c340c266bae1dd75

Author: James Hawkins <truiken at gmail.com>
Date:   Fri Jul 21 10:10:04 2006 -0700

msi: Expand features with odd Display values.

---

 dlls/msi/dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 1c6e425..9b1c32e 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -1625,6 +1625,10 @@ msi_seltree_add_child_features( MSIPACKA
         msi_seltree_sync_item_state( hwnd, feature, hitem );
         msi_seltree_add_child_features( package, hwnd,
                                         feature->Feature, hitem );
+
+        /* the node is expanded if Display is odd */
+        if ( feature->Display % 2 != 0 )
+            SendMessageW( hwnd, TVM_EXPAND, TVE_EXPAND, (LPARAM) hitem );
     }
 }
 




More information about the wine-cvs mailing list