mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
* 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:
parent
a15066d183
commit
119056ab5f
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -570,6 +570,11 @@ static BOOL restoreMouseMoved;
|
|||
NSRect rect;
|
||||
NSMutableDictionary *attributes;
|
||||
|
||||
if (nil == toolTipString)
|
||||
{
|
||||
toolTipString = @"";
|
||||
}
|
||||
|
||||
if (timer != nil)
|
||||
{
|
||||
if ([timer isValid])
|
||||
|
|
Loading…
Reference in a new issue