Revision: 4388
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4388&view=rev
Author:   hofman
Date:     2008-08-12 16:22:52 +0000 (Tue, 12 Aug 2008)

Log Message:
-----------
Only add .tex extension to source files in pdfsync/synctex support when an 
extension is missing.

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

Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m   2008-08-12 11:08:37 UTC (rev 4387)
+++ trunk/SKPDFSynchronizer.m   2008-08-12 16:22:52 UTC (rev 4388)
@@ -52,7 +52,7 @@
 static NSString *SKPDFSynchronizerPdfsyncExtension = @"pdfsync";
 
 static NSString *SKTeXSourceFile(NSString *file, NSString *base) {
-    if ([[file pathExtension] 
caseInsensitiveCompare:SKPDFSynchronizerTexExtension] != NSOrderedSame)
+    if ([[file pathExtension] length] == 0)
         file = [file 
stringByAppendingPathExtension:SKPDFSynchronizerTexExtension];
     if ([file isAbsolutePath] == NO)
         file = [base stringByAppendingPathComponent:file];


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to