Revision: 28291
http://sourceforge.net/p/bibdesk/svn/28291
Author: hofman
Date: 2023-06-06 14:16:14 +0000 (Tue, 06 Jun 2023)
Log Message:
-----------
check for NULL rather than 1 in userData
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2023-06-05
16:07:26 UTC (rev 28290)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2023-06-06
14:16:14 UTC (rev 28291)
@@ -3300,7 +3300,7 @@
- (NSString *)view:(NSView *)view stringForToolTip:(NSToolTipTag)tag
point:(NSPoint)point userData:(void *)userData
{
- BOOL isTitle = (userData == (void *)1);
+ BOOL isTitle = (userData != NULL);
if (isTitle) {
// shift the point for title toool tips so it falls within its icon
rect
point.y -= TEXT_OFFSET + [self _textHeight];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit