Revision: 28715
http://sourceforge.net/p/bibdesk/svn/28715
Author: hofman
Date: 2024-02-09 16:25:28 +0000 (Fri, 09 Feb 2024)
Log Message:
-----------
combine statements
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m 2024-02-09
15:41:27 UTC (rev 28714)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVColorMenuView.m 2024-02-09
16:25:28 UTC (rev 28715)
@@ -157,9 +157,9 @@
_action = NSSelectorFromString([coder decodeObjectForKey:@"_action"]);
NSMutableArray *buttons = [NSMutableArray array];
+ NSButton *button;
for (NSUInteger i = 0; i < 8; i++) {
- NSButton *button = [coder decodeObjectForKey:[NSString
stringWithFormat:@"_button%lu", (unsigned long)i]];
- if (button)
+ if ((button = [coder decodeObjectForKey:[NSString
stringWithFormat:@"_button%lu", (unsigned long)i]]))
[buttons addObject:button];
}
_buttons = [buttons copy];
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