From c263286bc66b25a15dfa02afa7026009d2360dad Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sat, 3 Jun 1995 21:15:50 +0000 Subject: [PATCH] StandardGetFile without args now shows all files (in stead of none) --- Mac/Modules/macfsmodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index e1ba4e17380..0d75d44361c 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); }