PyMac_GetFixed() didn't return 1 on success

This commit is contained in:
Jack Jansen 1996-05-31 13:01:39 +00:00
parent 1835c4f1b4
commit 31dd5c083b
1 changed files with 1 additions and 0 deletions

View 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 */