Revision: 7616
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7616&view=rev
Author:   hofman
Date:     2011-12-30 18:15:41 +0000 (Fri, 30 Dec 2011)
Log Message:
-----------
use 1-based index for progress update

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2011-12-30 12:45:03 UTC (rev 7615)
+++ trunk/SKMainWindowController.m      2011-12-30 18:15:41 UTC (rev 7616)
@@ -1948,7 +1948,7 @@
 }
 
 - (void)handleDocumentEndPageWrite:(NSNotification *)notification {
-       [[self progressController] setDoubleValue: [[[notification userInfo] 
objectForKey:@"PDFDocumentPageIndex"] doubleValue]];
+       [[self progressController] setDoubleValue:1.0 + [[[notification 
userInfo] objectForKey:@"PDFDocumentPageIndex"] doubleValue]];
 }
 
 - (void)registerForDocumentNotifications {

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to