diff options
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r-- | Mac/Modules/macfsmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index e1ba4e1..0d75d44 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); } |