Revision: 5661
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5661&view=rev
Author:   hofman
Date:     2009-09-04 10:35:39 +0000 (Fri, 04 Sep 2009)

Log Message:
-----------
use local filemanager instance

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

Modified: trunk/SKConversionProgressController.m
===================================================================
--- trunk/SKConversionProgressController.m      2009-09-04 10:34:09 UTC (rev 
5660)
+++ trunk/SKConversionProgressController.m      2009-09-04 10:35:39 UTC (rev 
5661)
@@ -344,7 +344,7 @@
     
     NSInvocation *invocation;
     
-    if (SKFileExistsAtPath(dviFile) && [self shouldKeepRunning]) {
+    if ([self shouldKeepRunning] && [[[[NSFileManager alloc] init] 
autorelease] fileExistsAtPath:dviFile]) {
         NSTask *task = [NSTask launchedTaskWithLaunchPath:commandPath 
arguments:arguments currentDirectoryPath:[dviFile 
stringByDeletingLastPathComponent]];
         if (task) {
             invocation = [NSInvocation invocationWithTarget:self 
selector:@selector(conversionStarted)];


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to