Commit 429436ed authored by Jack Jansen's avatar Jack Jansen

PyMac_GetFixed() didn't return 1 on success

parent 3733509e
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment