rename get_text_width() to text_get_width()

This commit is contained in:
wanp committed 2024-09-23 15:06:58 -03:00
1 parent 73bf92e706
commit 34a081fccd
3 files changed
+3 -3

No files matched your search

+1 -1
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) {