mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 16:41:35 +00:00
Initialize isDir value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31643 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
912da0d4b3
commit
77f710f67e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-11-23 Riccardo Mottola
|
||||
|
||||
* Framework/PCFileManager.m:
|
||||
Initialize isDir value.
|
||||
|
||||
2010-11-22 German Arias <german@xelalug.org>
|
||||
* Framework/GNUmakefile: Added ProjectLanguages.gorm
|
||||
* Headers/ProjectCenter/PCProjectInspector.h:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||
|
||||
Copyright (C) 2000-2004 Free Software Foundation
|
||||
Copyright (C) 2000-2010 Free Software Foundation
|
||||
|
||||
Authors: Philippe C.D. Robert
|
||||
Serg Stoyan
|
||||
|
@ -106,6 +106,7 @@ static PCFileManager *_mgr = nil;
|
|||
* component any more. Else, you may end up in an infinite loop if
|
||||
* _path = @"".
|
||||
*/
|
||||
isDir = NO;
|
||||
while (_path != nil
|
||||
&& ![_path isEqualToString: _oldPath]
|
||||
&& ![fm fileExistsAtPath:_path isDirectory:&isDir])
|
||||
|
|
Loading…
Reference in a new issue