diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-17 23:29:27 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-17 23:29:27 +0000 |
| commit | 1795f29b4b87c34876cae4e3a7653f0f79b1f8e4 (patch) | |
| tree | 98e65cded2a9a20aa221e2ed979fef00d9af9d8a /Mac/Modules/file/_Filemodule.c | |
| parent | 58fc91f9471f04a2826e62943542252d2b37f106 (diff) | |
| download | cpython-git-1795f29b4b87c34876cae4e3a7653f0f79b1f8e4.tar.gz | |
Fixed silly typo.
Added comment (to myself) on what still needs to be done.
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 eaaa54771e..0322ccacaf 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 |
