Revision: 14219
          http://sourceforge.net/p/skim-app/code/14219
Author:   hofman
Date:     2024-04-18 16:22:43 +0000 (Thu, 18 Apr 2024)
Log Message:
-----------
reuse variable

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

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-04-18 15:45:09 UTC (rev 
14218)
+++ trunk/SKMainWindowController_FullScreen.m   2024-04-18 16:22:43 UTC (rev 
14219)
@@ -335,9 +335,9 @@
     NSImage *image = [[NSImage alloc] initWithCGImage:cgImage size:frame.size];
     CGImageRelease(cgImage);
     if (animationWindow == nil)
-        animationWindow = [[SKAnimatedBorderlessWindow alloc] 
initWithContentRect:[window frame]];
+        animationWindow = [[SKAnimatedBorderlessWindow alloc] 
initWithContentRect:frame];
     else
-        [animationWindow setFrame:[window frame] display:NO];
+        [animationWindow setFrame:frame display:NO];
     [animationWindow addImageViewWithImage:image];
     [animationWindow setHasShadow:[window hasShadow]];
     [animationWindow setLevel:[window level]];

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