All pastes #67885 Raw Edit

Something

public text v1 · immutable
#67885 ·published 2006-06-20 18:57 UTC
rendered paste body
===================================================================
--- User32/User32.c     (revision 31)
+++ User32/User32.c     (working copy)
@@ -14,11 +14,13 @@
 #endif

 ALKYAPI int MessageBoxA_W32(HWND hWnd,LPCSTR lpText,LPCSTR lpCaption,UINT uType) {
+#ifdef MAC
+
   CFOptionFlags responseFlags;

   AlkyLog("MessageBoxA called.  Caption is `%s' and Text is `%s'", lpCaption, lpText);

-#ifdef MAC
+
   CFUserNotificationDisplayAlert(0, kCFUserNotificationStopAlertLevel, NULL, NULL, NULL,
                                 CFStringCreateWithCString(NULL, (char *) lpCaption, kCFStringEncodingASCII),
                                 CFStringCreateWithCString(NULL, (char *) lpText, kCFStringEncodingASCII),
@@ -26,7 +28,7 @@
 #endif

 #ifdef LINUX
-
+  AlkyLog("MessageBoxA called.  Caption is `%s' and Text is `%s'", lpCaption, lpText);
 #endif