Minor open panel fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5318 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-11-28 19:48:47 +00:00
parent 6f598b7562
commit 113f2bedf0
2 changed files with 6 additions and 0 deletions

View file

@ -182,6 +182,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
NSMutableArray *ret = [NSMutableArray array];
NSString *dir = [self directory];
dir = [dir stringByDeletingLastPathComponent];
while ((currCell = [cellEnum nextObject]))
{
[ret addObject: [NSString stringWithFormat: @"%@/%@", dir,