From ab4b6df33f1f07c49996bc6a770d387a3a71e6c7 Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Thu, 16 Oct 2025 09:41:06 -0400 Subject: fix text layouting --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 430ae45..acc328d 100644 --- a/main.c +++ b/main.c @@ -74,7 +74,7 @@ int main() { // create font altas textures atlas_create_texture(&state); - initTextBuffer(&state, &state.input_buffer_text, "a g dadsd s", 19); + initTextBuffer(&state, &state.input_buffer_text, "this is a test", strlen("this is a test")); // event loop while (state.running) { -- cgit v1.2.3