From: Jack Jansen Date: Sat, 3 Jun 1995 21:15:50 +0000 (+0000) Subject: StandardGetFile without args now shows all files (in stead of none) X-Git-Tag: v1.3b1~304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c263286bc66b25a15dfa02afa7026009d2360dad;p=thirdparty%2FPython%2Fcpython.git StandardGetFile without args now shows all files (in stead of none) --- diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index e1ba4e173800..0d75d44361cb 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -480,6 +480,8 @@ mfs_StandardGetFile(self, args) while ( numtypes < 4 && list[numtypes] ) { numtypes++; } + if ( numtypes == 0 ) + numtypes = -1; StandardGetFile((FileFilterUPP)0, numtypes, list, &reply); return mkvalue("(Oi)", newmfssobject(&reply.sfFile), reply.sfGood); }