make save and open panels usable on mswindows

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-05-13 15:04:01 +00:00
parent fc7fe511ae
commit c27f79a57d
5 changed files with 90 additions and 14 deletions

View file

@ -503,7 +503,7 @@ static NSDictionary *applications = nil;
static NSString *extPrefPath = nil;
static NSDictionary *extPreferences = nil;
// FIXME: Won't work for MINGW
// FIXME: Won't work for MINGW32
static NSString *_rootPath = @"/";
/*
@ -1571,7 +1571,7 @@ inFileViewerRootedAtPath: (NSString*)rootFullpath
{
NSMutableArray *names;
NSFileManager *mgr = [NSFileManager defaultManager];
#ifdef __MINGW__
#if defined(__MINGW32__)
unsigned max = BUFSIZ;
unichar buf[max];
unichar *base = buf;