From 571646ebc175877225c26a3dcf8869691cf70ba7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Apr 2020 18:41:23 +1000 Subject: Cleanup: pass font drawing x/y offset arguments as int's Internally these values are ints. --- source/blender/editors/include/UI_interface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index eb134646649..1133f9e72c4 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -2415,8 +2415,8 @@ void UI_fontstyle_draw_ex(const struct uiFontStyle *fs, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params, size_t len, - float *r_xofs, - float *r_yofs); + int *r_xofs, + int *r_yofs); void UI_fontstyle_draw(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, -- cgit v1.2.3