Revision: 26209 http://sourceforge.net/p/bibdesk/svn/26209 Author: hofman Date: 2021-06-11 21:55:11 +0000 (Fri, 11 Jun 2021) Log Message: ----------- Build attributed string for complex string from expanded string rather than complex string itself, somehow the value may be cached by the system and could become invalid
Modified Paths: -------------- trunk/bibdesk/BDSKComplexStringFormatter.m Modified: trunk/bibdesk/BDSKComplexStringFormatter.m =================================================================== --- trunk/bibdesk/BDSKComplexStringFormatter.m 2021-06-11 16:18:36 UTC (rev 26208) +++ trunk/bibdesk/BDSKComplexStringFormatter.m 2021-06-11 21:55:11 UTC (rev 26209) @@ -102,7 +102,7 @@ color = [NSColor inheritedStringColorSelected:isSelected]; if (color) [attrs setObject:color forKey:NSForegroundColorAttributeName]; - NSAttributedString *attStr = [[[NSAttributedString alloc] initWithString:obj attributes:attrs] autorelease]; + NSAttributedString *attStr = [[[NSAttributedString alloc] initWithString:[obj expandedString] attributes:attrs] autorelease]; [attrs release]; return attStr; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit