mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-21 10:51:05 +00:00
Commit last logged change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d574a0a9cc
commit
a8bd14c991
1 changed files with 2 additions and 2 deletions
|
@ -147,14 +147,14 @@ NSString *PCEditorDidResignActiveNotification =
|
||||||
// Determine if file not exist or file is directory
|
// Determine if file not exist or file is directory
|
||||||
if (![fm fileExistsAtPath:filePath isDirectory:&isDir] || isDir)
|
if (![fm fileExistsAtPath:filePath isDirectory:&isDir] || isDir)
|
||||||
{
|
{
|
||||||
NSLog(@"%@ doesn't exist!",filePath);
|
NSLog(@"%@ doesn't exist!", filePath);
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Determine if file is text file
|
// Determine if file is text file
|
||||||
if (![[PCFileManager defaultManager] isTextFile:filePath])
|
if (![[PCFileManager defaultManager] isTextFile:filePath])
|
||||||
{
|
{
|
||||||
NSLog(@"%@ is not plan text file!");
|
NSLog(@"%@ is not plan text file!", filePath);
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue