([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:
mccallum 1996-10-31 21:24:05 +00:00
parent 04b310b334
commit ac672a1a38

View file

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