Revision: 15563 http://sourceforge.net/p/skim-app/code/15563 Author: hofman Date: 2025-06-29 15:52:06 +0000 (Sun, 29 Jun 2025) Log Message: ----------- invert condition
Modified Paths: -------------- trunk/SKBookmarkController.m Modified: trunk/SKBookmarkController.m =================================================================== --- trunk/SKBookmarkController.m 2025-06-29 15:45:37 UTC (rev 15562) +++ trunk/SKBookmarkController.m 2025-06-29 15:52:06 UTC (rev 15563) @@ -250,7 +250,7 @@ } - (BOOL)addRecentDocumentForURL:(NSURL *)fileURL pageIndex:(NSUInteger)pageIndex snapshots:(NSArray *)snapshots { - if (maxRecentDocumentsCount > 0 && appIsTerminating == NO) + if (maxRecentDocumentsCount <= 0 || appIsTerminating) return YES; if (fileURL) { 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