XQuartz: Use CFSTR to avoid implicit cast warning of NSString * to CFStringRef

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston 2011-07-20 00:16:42 -07:00
parent 08dfff92e8
commit c319f7b5b3

View File

@ -1014,7 +1014,7 @@ void X11ApplicationMain (int argc, char **argv, char **envp) {
if (app_prefs_domain_cfstr == NULL) { if (app_prefs_domain_cfstr == NULL) {
ErrorF("X11ApplicationMain: Unable to determine bundle identifier. Your installation of XQuartz may be broken.\n"); ErrorF("X11ApplicationMain: Unable to determine bundle identifier. Your installation of XQuartz may be broken.\n");
app_prefs_domain_cfstr = @BUNDLE_ID_PREFIX".X11"; app_prefs_domain_cfstr = CFSTR(BUNDLE_ID_PREFIX".X11");
} }
[NSApp read_defaults]; [NSApp read_defaults];