From: Maotong Zhang <zmtong1988@gmail.com> Wine-Bug:https://bugs.winehq.org/show_bug.cgi?id=56296 --- dlls/msi/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index a228f138966..21f6b159dfc 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1397,7 +1397,7 @@ static UINT combobox_add_item( MSIRECORD *rec, void *param ) info->items[info->addpos_items] = wcsdup( value ); - pos = SendMessageW( info->hwnd, CB_ADDSTRING, 0, (LPARAM)text ); + pos = SendMessageW( info->hwnd, CB_ADDSTRING, 0, (LPARAM)(text ? text : value) ); SendMessageW( info->hwnd, CB_SETITEMDATA, pos, (LPARAM)info->items[info->addpos_items] ); info->addpos_items++; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10425