diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-05-31 13:01:39 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-05-31 13:01:39 (GMT) |
commit | 31dd5c083bfca98df81cfc853de3b544e312c8a7 (patch) | |
tree | f15d4aec405144a8f63bc740747cf46fdf3b695d /Mac/Python/macglue.c | |
parent | 1835c4f1b4bb31555e80dc651edee69d60a1ba82 (diff) | |
download | cpython-31dd5c083bfca98df81cfc853de3b544e312c8a7.zip cpython-31dd5c083bfca98df81cfc853de3b544e312c8a7.tar.gz cpython-31dd5c083bfca98df81cfc853de3b544e312c8a7.tar.bz2 |
PyMac_GetFixed() didn't return 1 on success
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r-- | Mac/Python/macglue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 3385d27..74fa2ee 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -777,6 +777,7 @@ PyMac_GetFixed(PyObject *v, Fixed *f) if( !PyArg_Parse(v, "d", &d)) return 0; *f = (Fixed)(d * 0x10000); + return 1; } /* Convert a Point to a Python object */ |