]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
StandardGetFile without args now shows all files (in stead of none)
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 3 Jun 1995 21:15:50 +0000 (21:15 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 3 Jun 1995 21:15:50 +0000 (21:15 +0000)
Mac/Modules/macfsmodule.c

index e1ba4e173800894020992cea7f434c61faf63c74..0d75d44361cbffb3357882be92e1c8918b9cd3e0 100644 (file)
@@ -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);
 }