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:
Nicola Pero 2001-12-11 02:23:59 +00:00
parent f579c17b83
commit 18e2344353

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;