diff options
Diffstat (limited to 'Mac/Modules/file/_Filemodule.c')
-rw-r--r-- | Mac/Modules/file/_Filemodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/file/_Filemodule.c b/Mac/Modules/file/_Filemodule.c index eaaa547..0322cca 100644 --- a/Mac/Modules/file/_Filemodule.c +++ b/Mac/Modules/file/_Filemodule.c @@ -2394,8 +2394,8 @@ myPyMac_GetFSSpec(PyObject *v, FSSpec *spec) /* Otherwise we try to go via an FSRef. On OSX we go all the way, ** on OS9 we accept only a real FSRef object */ -#if TARGET_API_MAX_OSX - if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) { +#if TARGET_API_MAC_OSX + if ( myPyMac_GetFSRef(v, &fsr) ) { #else if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) { #endif |