diff src/core/theme.c @ 106:ed1a6bb02a78

inventory_dialog: use a small circle as test
author David Demelier <markand@malikania.fr>
date Wed, 01 Apr 2020 12:10:00 +0200
parents f6b5e2fbbc81
children 62aeb864093f
line wrap: on
line diff
--- a/src/core/theme.c	Tue Mar 31 21:29:54 2020 +0200
+++ b/src/core/theme.c	Wed Apr 01 12:10:00 2020 +0200
@@ -15131,7 +15131,7 @@
 		if (!font_render(t->fonts[THEME_FONT_INTERFACE], &tex, label->text))
 			panic();
 
-		math_centerize(px, py, tex.w, tex.h,
+		maths_centerize(px, py, tex.w, tex.h,
 		    label->x, label->y, label->w, label->h);
 
 		texture_draw(&tex, x + 1, y + 1);
@@ -15146,7 +15146,7 @@
 	if (!font_render(t->fonts[THEME_FONT_INTERFACE], &tex, label->text))
 		panic();
 
-	math_centerize(px, py, tex.w, tex.h,
+	maths_centerize(px, py, tex.w, tex.h,
 	    label->x, label->y, label->w, label->h);
 
 	texture_draw(&tex, x, y);