removed c99ism

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26932 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2008-10-18 19:28:00 +00:00
parent e362e578e9
commit 75a92b018f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-10-18 Riccardo Mottola <rmottola@users.sf.net>>
* Source/NSWorkspace.m: Removed c99-ism
2008-10-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (+initialize, -startBackendWindow:): Move the

View file

@ -1623,6 +1623,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
NSString *mtabPath;
NSString *mtab;
NSArray *mounts, *reservedMountNames;
unsigned int i;
// get mount table...
mtabPath = [[NSUserDefaults standardUserDefaults] objectForKey:@"GSMtabPath"];
@ -1647,7 +1648,6 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
mtab = [NSString stringWithContentsOfFile:mtabPath];
mounts = [mtab componentsSeparatedByString: @"\n"];
unsigned int i;
names = [NSMutableArray arrayWithCapacity: [mounts count]];
for (i = 0; i < [mounts count]; i++)