Commit d4a32494 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 747f19f0
...@@ -2448,6 +2448,8 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control ...@@ -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 zero[] = {'0',0};
static const WCHAR negative[] = {'-',0}; static const WCHAR negative[] = {'-',0};
if (!text) return;
while ((begin = strchrW( begin, '{' )) && count < 5) while ((begin = strchrW( begin, '{' )) && count < 5)
{ {
if (!(end = strchrW( begin, '}' ))) if (!(end = strchrW( begin, '}' )))
......
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