Don't use cStringNoCopy

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3118 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-10-26 12:52:20 +00:00
parent 75b8e3cdaa
commit eb65c9433b
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Mon Oct 26 13:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Tools/gpbs.m: Changed cStringNoCopy to cString.
Sat Oct 17 08:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* NSImage.m: removed erroneous attempt to set nil in image dictionary.

View file

@ -595,7 +595,7 @@ NSMutableDictionary* pasteboards = nil;
}
if (verbose) {
printf("get data for type '%s' version %d\n",
[type cStringNoCopy], e ? [e refNum] : -1);
[type cString], e ? [e refNum] : -1);
}
if (e) {
PasteboardData* d = [e itemForType: type];
@ -678,7 +678,7 @@ NSMutableDictionary* pasteboards = nil;
if (verbose) {
printf("set data for type '%s' version %d\n",
[type cStringNoCopy], count);
[type cString], count);
}
e = [self entryByCount: count];
if (e) {