Don't bother trying to avoid long lines when using Apple's C APIs
authorWincent Colaiuta <win@wincent.com>
Mon, 16 May 2011 00:02:23 +0000 (17:02 -0700)
committerWincent Colaiuta <win@wincent.com>
Mon, 16 May 2011 00:02:23 +0000 (17:02 -0700)
It's impossible.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
main.c

diff --git a/main.c b/main.c
index 815a7c24ac287749fce2724ba550155c70eeaa0b..a9ffd500405681085486ae8b65590667b3298a85 100644 (file)
--- 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)