Revision: 28927 http://sourceforge.net/p/bibdesk/svn/28927 Author: hofman Date: 2024-07-05 15:42:27 +0000 (Fri, 05 Jul 2024) Log Message: ----------- fix changing macro names, don't use valueForKey on maptable
Modified Paths: -------------- trunk/bibdesk/BDSKMacroResolver.m Modified: trunk/bibdesk/BDSKMacroResolver.m =================================================================== --- trunk/bibdesk/BDSKMacroResolver.m 2024-05-24 09:25:28 UTC (rev 28926) +++ trunk/bibdesk/BDSKMacroResolver.m 2024-07-05 15:42:27 UTC (rev 28927) @@ -210,7 +210,7 @@ changeMacro:newMacro to:oldMacro]; // retain in case these go away with removeObjectForKey: - NSString *val = [macroDefinitions valueForKey:oldMacro]; + NSString *val = [macroDefinitions objectForKey:oldMacro]; NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:BDSKMacroResolverRenameType, BDSKMacroResolverTypeKey, oldMacro, BDSKMacroResolverOldMacroKey, newMacro,BDSKMacroResolverNewMacroKey, nil]; [macroDefinitions removeObjectForKey:oldMacro]; 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