Revision: 4862
http://skim-app.svn.sourceforge.net/skim-app/?rev=4862&view=rev
Author: hofman
Date: 2008-10-24 16:07:48 +0000 (Fri, 24 Oct 2008)
Log Message:
-----------
use correct pdf document to construct pages for selection
Modified Paths:
--------------
trunk/PDFSelection_SKExtensions.m
Modified: trunk/PDFSelection_SKExtensions.m
===================================================================
--- trunk/PDFSelection_SKExtensions.m 2008-10-24 15:17:49 UTC (rev 4861)
+++ trunk/PDFSelection_SKExtensions.m 2008-10-24 16:07:48 UTC (rev 4862)
@@ -441,7 +441,7 @@
}
if (startPage != NSNotFound && startIndex != NSNotFound &&
endPage != NSNotFound && endIndex != NSNotFound) {
- PDFSelection *sel = [document selectionFromPage:[doc
pageAtIndex:startPage] atCharacterIndex:startIndex toPage:[doc
pageAtIndex:endPage] atCharacterIndex:endIndex];
+ PDFSelection *sel = [document
selectionFromPage:[document pageAtIndex:startPage] atCharacterIndex:startIndex
toPage:[document pageAtIndex:endPage] atCharacterIndex:endIndex];
if (sel) {
doc = document;
if (selection == nil)
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit