Commit af71ce16 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix an error introduced when converting dialog lists to standard

lists.
parent 566c69e7
...@@ -149,8 +149,8 @@ static msi_control *msi_dialog_find_control( msi_dialog *dialog, LPCWSTR name ) ...@@ -149,8 +149,8 @@ static msi_control *msi_dialog_find_control( msi_dialog *dialog, LPCWSTR name )
return NULL; return NULL;
LIST_FOR_EACH_ENTRY( control, &dialog->controls, msi_control, entry ) LIST_FOR_EACH_ENTRY( control, &dialog->controls, msi_control, entry )
if( !strcmpW( control->name, name ) ) /* FIXME: case sensitive? */ if( !strcmpW( control->name, name ) ) /* FIXME: case sensitive? */
break; return control;
return control; return NULL;
} }
static msi_control *msi_dialog_find_control_by_hwnd( msi_dialog *dialog, HWND hwnd ) static msi_control *msi_dialog_find_control_by_hwnd( msi_dialog *dialog, HWND hwnd )
...@@ -159,8 +159,8 @@ static msi_control *msi_dialog_find_control_by_hwnd( msi_dialog *dialog, HWND hw ...@@ -159,8 +159,8 @@ static msi_control *msi_dialog_find_control_by_hwnd( msi_dialog *dialog, HWND hw
LIST_FOR_EACH_ENTRY( control, &dialog->controls, msi_control, entry ) LIST_FOR_EACH_ENTRY( control, &dialog->controls, msi_control, entry )
if( hwnd == control->hwnd ) if( hwnd == control->hwnd )
break; return control;
return control; return NULL;
} }
static LPWSTR msi_get_deformatted_field( MSIPACKAGE *package, MSIRECORD *rec, int field ) static LPWSTR msi_get_deformatted_field( MSIPACKAGE *package, MSIRECORD *rec, int field )
......
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