]> granicus.if.org Git - python/commitdiff
PyMac_GetFixed() didn't return 1 on success
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 31 May 1996 13:01:39 +0000 (13:01 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 31 May 1996 13:01:39 +0000 (13:01 +0000)
Mac/Python/macglue.c

index 3385d270b06e223f9b1e4368244c9e010d8f92c4..74fa2eef732183bbc1993c4d8d5ed458593ae944 100644 (file)
@@ -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 */