Revision: 16464
          http://sourceforge.net/p/skim-app/code/16464
Author:   hofman
Date:     2026-09-12 21:34:31 +0000 (Sat, 12 Sep 2026)
Log Message:
-----------
move local variable inside statement

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

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2026-09-12 21:31:17 UTC (rev 16463)
+++ trunk/SKBookmark.m  2026-09-12 21:34:31 UTC (rev 16464)
@@ -582,8 +582,8 @@
 }
 
 - (NSDictionary *)setup {
-    NSMutableDictionary *dict = [NSMutableDictionary 
dictionaryWithDictionary:setup];
     if (pageIndex != NSNotFound) {
+        NSMutableDictionary *dict = [NSMutableDictionary 
dictionaryWithDictionary:setup];
         [dict setObject:[NSNumber numberWithUnsignedInteger:pageIndex] 
forKey:PAGEINDEX_KEY];
         if ([[setup objectForKey:PAGEINDEX_KEY] unsignedIntegerValue] != 
pageIndex)
             [dict removeObjectForKey:SCROLLPOINT_KEY];

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