Revision: 15720
          http://sourceforge.net/p/skim-app/code/15720
Author:   hofman
Date:     2025-10-27 16:31:07 +0000 (Mon, 27 Oct 2025)
Log Message:
-----------
use variable

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

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2025-10-27 15:51:28 UTC (rev 15719)
+++ trunk/SKBasePDFView.m       2025-10-27 16:31:07 UTC (rev 15720)
@@ -232,7 +232,7 @@
     NSScrollView *scrollView = [self scrollView];
     NSClipView *clipView = [scrollView contentView];
     NSRect bounds = [clipView bounds];
-    NSRect docRect = [[[self scrollView] documentView] frame];
+    NSRect docRect = [[scrollView documentView] frame];
     if (NSWidth(docRect) <= NSWidth(bounds))
         return;
     NSRect pageBounds = [self convertRect:[self convertRect:[self 
layoutBoundsForPage:page] fromPage:page] toView:clipView];

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

Reply via email to