Revision: 3089
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3089&view=rev
Author:   hofman
Date:     2007-10-29 03:14:10 -0700 (Mon, 29 Oct 2007)

Log Message:
-----------
fix typo in last commit and typing.

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2007-10-29 10:10:10 UTC (rev 3088)
+++ trunk/SKPDFView.m   2007-10-29 10:14:10 UTC (rev 3089)
@@ -3769,12 +3769,12 @@
         if ([page isEqual:currentPage] == NO && displayMode != 
kPDFDisplaySinglePageContinuous && displayMode != kPDFDisplayTwoUpContinuous) {
             if (displayMode == kPDFDisplayTwoUp) {
                 int currentPageIndex = [currentPage pageIndex];
-                int facingPageIndex = currentPageIndex1;
+                int facingPageIndex = currentPageIndex;
                 if ([self displaysAsBook] == (BOOL)(currentPageIndex % 2))
                     facingPageIndex++;
                 else
                     facingPageIndex--;
-                if ([page pageIndex] != facingPageIndex)
+                if ((int)[page pageIndex] != facingPageIndex)
                     isVisible = NO;
             } else {
                 isVisible = NO;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to