From 06da1bc10e0dadb24c2212975e08edb3c77cbf21 Mon Sep 17 00:00:00 2001 From: Wincent Colaiuta Date: Sun, 15 May 2011 17:02:23 -0700 Subject: [PATCH] Don't bother trying to avoid long lines when using Apple's C APIs It's impossible. Signed-off-by: Wincent Colaiuta --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index 815a7c2..a9ffd50 100644 --- a/main.c +++ b/main.c @@ -42,8 +42,7 @@ int main (int argc, const char * argv[]) { CFSTR("Cancel"), }; CFDictionaryRef dictionary = CFDictionaryCreate(NULL, keys, values, sizeof(keys)/sizeof(*keys), &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); - CFUserNotificationRef notification = CFUserNotificationCreate - (NULL, 0, flags, &error, dictionary); + CFUserNotificationRef notification = CFUserNotificationCreate(NULL, 0, flags, &error, dictionary); CFOptionFlags responseFlags; SInt32 response = CFUserNotificationReceiveResponse(notification, 0, &responseFlags); if (response == 0 && (responseFlags & 0x3) != kCFUserNotificationAlternateResponse)