msi [3/3]: Fix the height of the line control window

James Hawkins truiken at gmail.com
Thu Aug 24 15:15:51 CDT 2006


Hi,

This patch isn't specifically for bug 4403 because alsmost all MSI
installation packages use the line control, and the line would never
show up previously because the window had a height of zero.  This
behavior was verified in windows with spy++ while running several
installers.  No matter what the height value in the database is, the
line control window is always 2 units high.

Changelog:
* Fix the height of the line control window.

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

-- 
James Hawkins
-------------- next part --------------
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 5bee66b..5a1f550 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -753,6 +753,9 @@ static UINT msi_dialog_line_control( msi
 {
     TRACE("%p %p\n", dialog, rec);
 
+    /* line is exactly 2 units in height */
+    MSI_RecordSetInteger( rec, 7, 2 );
+
     msi_dialog_add_control( dialog, rec, szStatic, SS_ETCHEDHORZ | SS_SUNKEN );
     return ERROR_SUCCESS;
 }
-- 
1.4.2


More information about the wine-patches mailing list