diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-03 21:15:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-03 21:15:50 (GMT) |
commit | c263286bc66b25a15dfa02afa7026009d2360dad (patch) | |
tree | c74d5f248a205592e2d8d1c82306a1761ce22d5b /Mac/Modules | |
parent | 7be34a8bb3bce0806e7d9461cc791c011b3aaad9 (diff) | |
download | cpython-c263286bc66b25a15dfa02afa7026009d2360dad.zip cpython-c263286bc66b25a15dfa02afa7026009d2360dad.tar.gz cpython-c263286bc66b25a15dfa02afa7026009d2360dad.tar.bz2 |
StandardGetFile without args now shows all files (in stead of none)
Diffstat (limited to 'Mac/Modules')
-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); } |