James Hawkins : msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control.
Module: wine Branch: master Commit: d4a324940b3b92595dd26a92561cc80b01b0a3bd URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4a324940b3b92595dd26a9256... Author: James Hawkins <truiken(a)gmail.com> Date: Sat Feb 24 23:08:12 2007 -0600 msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control. --- dlls/msi/dialog.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 28fb2e9..35a192c 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, '}' )))
participants (1)
-
Alexandre Julliard