Commit db2d925b3479a0254e4477617fbefb246e5e4780

Thomas de Grivel 2024-02-25T21:15:09

matrix: more characters

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/window/sdl2/demo/matrix.c b/libc3/window/sdl2/demo/matrix.c
index 86264db..2c244ec 100644
--- a/libc3/window/sdl2/demo/matrix.c
+++ b/libc3/window/sdl2/demo/matrix.c
@@ -152,7 +152,7 @@ bool matrix_text_init (s_tag *tag, f32 y, f32 *h)
   buf_init(&buf, false, sizeof(a), a);
   u8_random_uniform(&i, 10);
   spacing = i * MATRIX_FONT_SIZE;
-  u8_random_uniform(&len, 10);
+  u8_random_uniform(&len, 70);
   len += 10;
   text = gl_vtext_new(&g_matrix_font);
   if (! text ||