Revision: 6716
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6716&view=rev
Author:   hofman
Date:     2010-08-19 10:09:46 +0000 (Thu, 19 Aug 2010)

Log Message:
-----------
use correct path for script menu item title

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

Modified: trunk/SKScriptMenu.m
===================================================================
--- trunk/SKScriptMenu.m        2010-08-19 10:04:56 UTC (rev 6715)
+++ trunk/SKScriptMenu.m        2010-08-19 10:09:46 UTC (rev 6716)
@@ -215,7 +215,7 @@
         NSString *fileType = [fileAttributes valueForKey:NSFileType];
         BOOL isDir = [fileType isEqualToString:NSFileTypeDirectory];
         NSString *theUTI = [ws typeOfFile:[[filePath 
stringByStandardizingPath] stringByResolvingSymlinksInPath] error:NULL];
-        NSString *title = [path lastPathComponent];
+        NSString *title = [file lastPathComponent];
         NSDictionary *dict = nil;
         
         NSScanner *scanner = [NSScanner scannerWithString:title];


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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to