adium/adium

nil strings cause crashes. Fixes #16587
adium-1.5.10
2014-04-05, Frank Dowsett
a78a400f7451
Parents 9fb7892fb30a
Children b484898a0d0d
nil strings cause crashes. Fixes #16587
--- a/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Wed Apr 02 23:50:35 2014 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Sat Apr 05 15:53:18 2014 -0400
@@ -354,7 +354,7 @@
[[NSCursor arrowCursor] set]; //Restore the regular cursor
if (showTooltip) {
- [AITooltipUtilities showTooltipWithString:nil onWindow:nil atPoint:NSMakePoint(0,0) orientation:TooltipAbove]; //Hide the tooltip
+ [AITooltipUtilities showTooltipWithString:@"" onWindow:nil atPoint:NSMakePoint(0,0) orientation:TooltipAbove]; //Hide the tooltip
[hoveredLink release]; hoveredLink = nil;
[hoveredString release]; hoveredString = nil;