mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +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
d7e6779a18
commit
b00594169b
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@
|
|||
|
||||
- (void) gotNotificationFoo: (NSNotification*)not
|
||||
{
|
||||
printf ("Got %@\n", [not name]);
|
||||
printf ("Got %s\n", [[not name] cStringNoCopy]);
|
||||
}
|
||||
|
||||
- (void) gotNotificationFooNoObject: (NSNotification*)not
|
||||
{
|
||||
printf ("Got %@ without object\n", [not name]);
|
||||
printf ("Got %s without object\n", [[not name] cStringNoCopy]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue