Revision: 16480
          http://sourceforge.net/p/skim-app/code/16480
Author:   hofman
Date:     2026-09-14 16:54:07 +0000 (Mon, 14 Sep 2026)
Log Message:
-----------
use local variable

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

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-09-14 15:34:09 UTC (rev 16479)
+++ trunk/SKMainWindowController.m      2026-09-14 16:54:07 UTC (rev 16480)
@@ -432,8 +432,9 @@
         [leftSideController setTopInset:titleBarHeight];
         [rightSideController setTopInset:titleBarHeight];
         // temporarily force the contentInsets we will get, otherwise initial 
layout will use zero insets
-        [[pdfView embeddedScrollView] setAutomaticallyAdjustsContentInsets:NO];
-        [[pdfView embeddedScrollView] 
setContentInsets:NSEdgeInsetsMake(titleBarHeight, 0.0, 0.0, 0.0)];
+        NSScrollView *scrollView = [pdfView embeddedScrollView];
+        [scrollView setAutomaticallyAdjustsContentInsets:NO];
+        [scrollView setContentInsets:NSEdgeInsetsMake(titleBarHeight, 0.0, 
0.0, 0.0)];
     }
     
     [self setWindowFrameAutosaveNameOrCascade:SKMainWindowFrameAutosaveName];

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