Revision: 28734
http://sourceforge.net/p/bibdesk/svn/28734
Author: hofman
Date: 2024-02-12 22:30:24 +0000 (Mon, 12 Feb 2024)
Log Message:
-----------
use NSObject implementation for hash for dynamic color
Modified Paths:
--------------
trunk/bibdesk/NSColor_BDSKExtensions.m
Modified: trunk/bibdesk/NSColor_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSColor_BDSKExtensions.m 2024-02-12 15:46:53 UTC (rev
28733)
+++ trunk/bibdesk/NSColor_BDSKExtensions.m 2024-02-12 22:30:24 UTC (rev
28734)
@@ -464,7 +464,7 @@
}
- (NSUInteger)hash {
- return (NSUInteger)self;
+ return ((NSUInteger(*)(id, SEL))[NSObject
instanceMethodForSelector:_cmd])(self, _cmd);
}
- (NSString *)description {
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