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
This commit is contained in:
Alexander Malmberg 2003-10-08 14:02:05 +00:00
parent 5ea990e259
commit 1db4009dee
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-10-08 15:58 Alexander Malmberg <alexander@malmberg.org>
* Source/xlib/XGContext.m (+initializeBackend): Give NSLog an
objective-c string (@""), not a c string (""). Reported by Matt
Rice.
2003-10-05 Adam Fedor <fedor@gnu.org>
* Documentation/GNUmakefile: Make Back documentation

View file

@ -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
}