* Source/GSToolTips.m (-_timedOut:): Guard against nil tooltip string

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33599 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-07-21 07:12:07 +00:00
parent a15066d183
commit 119056ab5f
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-07-21 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSToolTips.m (-_timedOut:): Guard against nil tooltip string
2011-07-21 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSButtonCell.m (-title): Return @"" instead of nil

View file

@ -570,6 +570,11 @@ static BOOL restoreMouseMoved;
NSRect rect;
NSMutableDictionary *attributes;
if (nil == toolTipString)
{
toolTipString = @"";
}
if (timer != nil)
{
if ([timer isValid])