Revision: 5954
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5954&view=rev
Author:   hofman
Date:     2009-10-26 19:25:19 +0000 (Mon, 26 Oct 2009)

Log Message:
-----------
set temporary path only when necessary

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

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2009-10-26 15:35:45 UTC (rev 5953)
+++ trunk/SKMainDocument.m      2009-10-26 19:25:19 UTC (rev 5954)
@@ -511,9 +511,9 @@
                     [fm moveItemAtPath:[path 
stringByAppendingPathComponent:file] toPath:[tmpPath 
stringByAppendingPathComponent:file] error:NULL];
                 }
             }
+            if (tmpPath)
+                [info setObject:tmpPath forKey:@"tmpPath"];
         }
-        if (tmpPath)
-            [info setObject:tmpPath forKey:@"tmpPath"];
     }
     
     [super saveToURL:absoluteURL ofType:typeName 
forSaveOperation:saveOperation delegate:self 
didSaveSelector:@selector(document:didSave:contextInfo:) contextInfo:info];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to