Revision: 15972
          http://sourceforge.net/p/skim-app/code/15972
Author:   hofman
Date:     2026-01-07 18:03:39 +0000 (Wed, 07 Jan 2026)
Log Message:
-----------
single line return

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2026-01-07 18:02:13 UTC (rev 15971)
+++ trunk/SKPDFView.m   2026-01-07 18:03:39 UTC (rev 15972)
@@ -1439,10 +1439,7 @@
 }
 
 - (BOOL)canGoBack {
-    if ([[self document] isLocked])
-        return NO;
-    else
-        return [super canGoBack];
+    return [[self document] isLocked] == NO && [super canGoBack];
 }
 
 - (BOOL)canGoForward {

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