This commit is contained in:
Kovid Goyal 2017-10-31 14:25:52 +05:30
parent f25d2ea540
commit 0c4bb6a0d6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -359,7 +359,7 @@ test_sprite_position_for(PyObject UNUSED *self, PyObject *args) {
int error;
SpritePosition *pos = sprite_position_for(&box_font, glyph, extra_glyphs, false, &error);
if (pos == NULL) { sprite_map_set_error(error); return NULL; }
return Py_BuildValue("III", pos->x, pos->y, pos->z);
return Py_BuildValue("HHH", pos->x, pos->y, pos->z);
}
static PyMethodDef module_methods[] = {