Revision: 16635
http://sourceforge.net/p/skim-app/code/16635
Author: hofman
Date: 2026-10-08 15:55:13 +0000 (Thu, 08 Oct 2026)
Log Message:
-----------
make sure we don't turn unsigned integer negative
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2026-10-08 15:36:18 UTC (rev 16634)
+++ trunk/SKBasePDFView.m 2026-10-08 15:55:13 UTC (rev 16635)
@@ -380,7 +380,7 @@
} else {
PDFDocument *doc = [self document];
NSUInteger i = [doc indexForPage:[self currentPage]];
- if (displayMode == kPDFDisplayTwoUpContinuous && (i > 1 || [self
displaysAsBook] == NO))
+ if (displayMode == kPDFDisplayTwoUpContinuous && (i > 1 || (i == 1 &&
[self displaysAsBook] == NO)))
--i;
[super goToPreviousPage:sender];
if (i-- > 0)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit