mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:10:37 +00:00
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:
parent
75b8e3cdaa
commit
eb65c9433b
2 changed files with 6 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue