Use NSDebugMLLog, not NSWarn, when warning that -setStringValue: was

called with nil argument


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11693 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2001-12-11 02:23:59 +00:00
parent d6bccc8eb7
commit 1ffb45d2f3

View file

@ -325,10 +325,11 @@ static NSColor *shadowCol;
NSString *string = aString;
/* We warn about nil for compatibiliy with MacOS X, which refuses
nil */
nil. */
if (string == nil)
{
NSWarnMLog (@"attempt to use nil as string value");
NSDebugMLLog (@"MacOSXCompatibility",
@"Attempt to use nil as string value");
}
_cell.type = NSTextCellType;