summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-01 23:47:52 -0500
committerpommicket <pommicket@gmail.com>2023-01-01 23:47:52 -0500
commit20ac640a6d0b8eb6343709ae6ef921b41a31a726 (patch)
tree32165e91d2851b35cae59691b84dfaf4aecc7b4d /text.c
parent8c16344d5279eef6ed6ad18d4de7e8a2a5bf2f98 (diff)
restructure syntax.c
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index 4d04f56..291e047 100644
--- a/text.c
+++ b/text.c
@@ -439,7 +439,7 @@ v2 text_get_size_v2(Font *font, const char *text) {
}
-void text_get_size32(Font *font, char32_t const *text, u64 len, float *width, float *height) {
+void text_get_size32(Font *font, const char32_t *text, u64 len, float *width, float *height) {
TextRenderState render_state = text_render_state_default;
render_state.render = false;
for (u64 i = 0; i < len; ++i) {