summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-03 21:15:50 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-03 21:15:50 (GMT)
commitc263286bc66b25a15dfa02afa7026009d2360dad (patch)
treec74d5f248a205592e2d8d1c82306a1761ce22d5b /Mac/Modules
parent7be34a8bb3bce0806e7d9461cc791c011b3aaad9 (diff)
downloadcpython-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.c2
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);
}