mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-24 11:51:15 +00:00
Fix crash in Update Dialog on Mac if update installation fails due to use of uninitialized string variable.
This commit is contained in:
parent
a42e9475b5
commit
121b1c9126
1 changed files with 2 additions and 1 deletions
|
@ -33,10 +33,11 @@ class UpdateDialogPrivate
|
|||
}
|
||||
- (void) reportUpdateError: (id)arg
|
||||
{
|
||||
NSMutableString* message;
|
||||
NSMutableString* message = [[NSMutableString alloc] init];
|
||||
[message appendString:@"There was a problem installing the update: "];
|
||||
[message appendString:arg];
|
||||
[dialog->progressLabel setTitleWithMnemonic: message];
|
||||
[message release];
|
||||
}
|
||||
- (void) reportUpdateProgress: (id)arg
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue