msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control.

This commit is contained in:
James Hawkins 2007-02-24 23:08:12 -06:00 committed by Alexandre Julliard
parent 747f19f011
commit d4a324940b
1 changed files with 2 additions and 0 deletions

View File

@ -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, '}' )))