mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
open files now recognizes directories as well
git-svn-id: http://macvim.googlecode.com/svn/trunk@273 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ static NSTimeInterval MMTerminateTimeout = 3;
|
||||
int i, count = [filenames count];
|
||||
for (i = 0; i < count; ++i) {
|
||||
NSString *name = [filenames objectAtIndex:i];
|
||||
if ([NSFileHandle fileHandleForReadingAtPath:name]) {
|
||||
if ([[NSFileManager defaultManager] fileExistsAtPath:name]) {
|
||||
[files addObject:name];
|
||||
} else if (!firstMissingFile) {
|
||||
firstMissingFile = name;
|
||||
|
||||
Reference in New Issue
Block a user