mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
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:
parent
f579c17b83
commit
18e2344353
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue