mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 01:01:03 +00:00
([Observer -gotNotificationFoo:]): Don't use %@ inside printf().
([Observer -gotNotificationFooNoObject:]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1922 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
04b310b334
commit
ac672a1a38
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@
|
||||||
|
|
||||||
- (void) gotNotificationFoo: (NSNotification*)not
|
- (void) gotNotificationFoo: (NSNotification*)not
|
||||||
{
|
{
|
||||||
printf ("Got %@\n", [not name]);
|
printf ("Got %s\n", [[not name] cStringNoCopy]);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) gotNotificationFooNoObject: (NSNotification*)not
|
- (void) gotNotificationFooNoObject: (NSNotification*)not
|
||||||
{
|
{
|
||||||
printf ("Got %@ without object\n", [not name]);
|
printf ("Got %s without object\n", [[not name] cStringNoCopy]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue