rename get_text_width() to text_get_width()

This commit is contained in:
2024-09-23 15:06:58 -03:00
parent 73bf92e706
commit 34a081fccd
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ static void title_tick(State *state) {
const char *font = "fonts/kenney-pixel.ttf";
int text_h = 32;
int text_w = get_text_width(text_str, text_h, font);
int text_w = text_get_width(text_str, text_h, font);
push_rectangle(
(Rect) {