Revision: 6367
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6367&view=rev
Author:   hofman
Date:     2010-03-23 16:26:45 +0000 (Tue, 23 Mar 2010)

Log Message:
-----------
collapse a for block

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

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2010-03-23 16:25:05 UTC (rev 6366)
+++ trunk/SKMainDocument.m      2010-03-23 16:26:45 UTC (rev 6367)
@@ -1363,10 +1363,8 @@
             fileName = [[NSFileManager defaultManager] 
bundledFileWithExtension:@"pdf" inPDFBundleAtPath:fileName error:NULL];
             if (fileName == nil)
                 return NO;
-        } else if ([extension caseInsensitiveCompare:@"dvi"] == NSOrderedSame) 
{
+        } else if ([extension caseInsensitiveCompare:@"dvi"] == NSOrderedSame 
|| [extension caseInsensitiveCompare:@"xdv"] == NSOrderedSame) {
             isDVI = YES;
-        } else if ([extension caseInsensitiveCompare:@"xdv"] == NSOrderedSame) 
{
-            isDVI = YES;
         }
     }
     


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to