about summary refs log tree commit diff
path: root/src/base
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2008-10-02 14:37:48 +0000
committerJoel de Vahl <joel@stalverk80.se>2008-10-02 14:37:48 +0000
commitd5b1c9359820475afdd9261f470ef765295f9278 (patch)
treec0982d50007e16e77bb0a7b9ba83a047b5d7d3e9 /src/base
parentcebda9790bfa7d109014d5871d79e9ecd88c7d50 (diff)
downloadzcatch-d5b1c9359820475afdd9261f470ef765295f9278.tar.gz
zcatch-d5b1c9359820475afdd9261f470ef765295f9278.zip
fixed message box on osx
Diffstat (limited to 'src/base')
-rw-r--r--src/base/system.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/system.c b/src/base/system.c
index 5fb48e12..02bbed7f 100644
--- a/src/base/system.c
+++ b/src/base/system.c
@@ -1134,10 +1134,10 @@ void gui_messagebox(const char *title, const char *message)
 	/* END HACK */
 
 	CreateStandardAlert(kAlertStopAlert,
-		CFSTR(title),
-		CFSTR(message),
-		NULL,
-		&theItem);
+			CFStringCreateWithCString(NULL, title, kCFStringEncodingASCII),
+			CFStringCreateWithCString(NULL, message, kCFStringEncodingASCII),
+			NULL,
+			&theItem);
 
 	RunStandardAlert(theItem, NULL, &itemIndex);
 #elif defined(CONF_FAMILY_UNIX)