Revision: 14376
          http://sourceforge.net/p/skim-app/code/14376
Author:   hofman
Date:     2024-07-12 14:14:58 +0000 (Fri, 12 Jul 2024)
Log Message:
-----------
no need for local variable

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-07-11 22:53:56 UTC (rev 
14375)
+++ trunk/SKMainWindowController_FullScreen.m   2024-07-12 14:14:58 UTC (rev 
14376)
@@ -95,10 +95,7 @@
 @implementation SKMainWindowController (FullScreen)
 
 + (void)defineFullScreenGlobalVariables {
-    NSUserDefaults *sud = [NSUserDefaults standardUserDefaults];
-    autoHideToolbarInFullScreen = [sud 
boolForKey:SKAutoHideToolbarInFullScreenKey];
-    
-    fullScreenToolbarOffset = 0.0;
+    autoHideToolbarInFullScreen = [[NSUserDefaults standardUserDefaults] 
boolForKey:SKAutoHideToolbarInFullScreenKey];
 }
 
 #pragma mark Side Windows

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