From d4a324940b3b92595dd26a92561cc80b01b0a3bd Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sat, 24 Feb 2007 23:08:12 -0600 Subject: [PATCH] msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control. --- dlls/msi/dialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 28fb2e9fa5..35a192cffe 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -2448,6 +2448,8 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control static const WCHAR zero[] = {'0',0}; static const WCHAR negative[] = {'-',0}; + if (!text) return; + while ((begin = strchrW( begin, '{' )) && count < 5) { if (!(end = strchrW( begin, '}' ))) -- 2.32.0.93.g670b81a890