From 80e9dd81c422bc22b79e9f466a464c8b916c97cd Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 8 Oct 2003 14:02:05 +0000 Subject: [PATCH] NSLog wants an objective-c string, not a c string. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17801 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/xlib/XGContext.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e3f2906..8454e73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-10-08 15:58 Alexander Malmberg + + * Source/xlib/XGContext.m (+initializeBackend): Give NSLog an + objective-c string (@""), not a c string (""). Reported by Matt + Rice. + 2003-10-05 Adam Fedor * Documentation/GNUmakefile: Make Back documentation diff --git a/Source/xlib/XGContext.m b/Source/xlib/XGContext.m index 3abdb41..75d5baa 100644 --- a/Source/xlib/XGContext.m +++ b/Source/xlib/XGContext.m @@ -100,7 +100,7 @@ #ifdef X_HAVE_UTF8_STRING fontClass = [XGFontSetFontInfo class]; #else - NSLog("Can't use GSXEnableFontSet: You need XFree86 >= 4.0.2"); + NSLog(@"Can't use GSXEnableFontSet: You need XFree86 >= 4.0.2"); fontClass = [XGFontInfo class]; #endif }