aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAlertSheets.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-09-21 19:45:31 +0000
committerstuconnolly <stuart02@gmail.com>2010-09-21 19:45:31 +0000
commitfdb1acef702128747b8bb1a9b4d089ac5be7e945 (patch)
treed13992ec5a3aa7931256e6b4d50bccd50e98c13a /Source/SPAlertSheets.m
parentac4cc3dec0eb6207d487159e7b40ef18fde519a0 (diff)
downloadsequelpro-fdb1acef702128747b8bb1a9b4d089ac5be7e945.tar.gz
sequelpro-fdb1acef702128747b8bb1a9b4d089ac5be7e945.tar.bz2
sequelpro-fdb1acef702128747b8bb1a9b4d089ac5be7e945.zip
Add missing SVN properties and general comments tidy up.
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]];
}