From 0c4bb6a0d697f9bdc1def19cc20213c0c0a78d28 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 31 Oct 2017 14:25:52 +0530 Subject: [PATCH] ... --- kitty/fonts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/fonts.c b/kitty/fonts.c index 68f0ed19f..df4fbd6db 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -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[] = {