Revision: 15051 http://sourceforge.net/p/skim-app/code/15051 Author: hofman Date: 2025-03-30 09:07:04 +0000 (Sun, 30 Mar 2025) Log Message: ----------- Remove condition already implied by previous ones
Modified Paths: -------------- trunk/SKColorSwatch.m Modified: trunk/SKColorSwatch.m =================================================================== --- trunk/SKColorSwatch.m 2025-03-30 09:03:40 UTC (rev 15050) +++ trunk/SKColorSwatch.m 2025-03-30 09:07:04 UTC (rev 15051) @@ -641,7 +641,7 @@ } - (void)removeColorAtIndex:(NSInteger)i { - if (i >= 0 && i < (NSInteger)[itemViews count] && [itemViews count] > 1) { + if (i >= 0 && i < (NSInteger)[itemViews count]) { if (selectedIndex == i) [self deactivate]; [self willChangeColors]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit