aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/mac/sender/crash_report_sender.m12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/client/mac/sender/crash_report_sender.m b/src/client/mac/sender/crash_report_sender.m
index c591f0ca..37eb255e 100644
--- a/src/client/mac/sender/crash_report_sender.m
+++ b/src/client/mac/sender/crash_report_sender.m
@@ -265,11 +265,13 @@ const int kEmailMaxLength = 64;
}
} else {
// Create an alert panel to tell the user something happened
- NSPanel* alert = NSGetAlertPanel([self shortDialogMessage],
- [self explanatoryDialogText],
- NSLocalizedString(@"sendReportButton", @""),
- NSLocalizedString(@"cancelButton", @""),
- nil);
+ NSPanel* alert =
+ NSGetAlertPanel([self shortDialogMessage],
+ @"%@",
+ NSLocalizedString(@"sendReportButton", @""),
+ NSLocalizedString(@"cancelButton", @""),
+ nil,
+ [self explanatoryDialogText]);
// Pop the alert with an automatic timeout, and wait for the response
buttonPressed = [self runModalWindow:alert withTimeout:timeout];