aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAlertSheets.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPAlertSheets.m')
-rw-r--r--Source/SPAlertSheets.m9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/SPAlertSheets.m b/Source/SPAlertSheets.m
index bcaea921..8f6a21fd 100644
--- a/Source/SPAlertSheets.m
+++ b/Source/SPAlertSheets.m
@@ -42,8 +42,8 @@ void SPBeginAlertSheet(
id modalDelegate,
SEL didEndSelector,
void *contextInfo,
- NSString *msg
-) {
+ NSString *msg)
+{
NSButton *aButton;
// Set up an NSAlert with the supplied details
@@ -95,8 +95,8 @@ void SPBeginWaitingAlertSheet(
void *contextInfo,
NSString *msg,
NSString *infoText,
- NSInteger *returnCode
-) {
+ NSInteger *returnCode)
+{
NSButton *aButton;
@@ -160,6 +160,7 @@ void SPBeginWaitingAlertSheet(
beforeDate:[NSDate distantFuture]];
}
+
[NSApp endModalSession:session];
[NSApp endSheet:[alert window]];
}