shithub: choc

Download patch

ref: 54a38844f79ba18122e185ad4f8ad9108f703e78
parent: 83d0f369df6d5582efad2c4a40454b114abe9a9e
author: Turo Lamminen <[email protected]>
date: Fri Mar 2 19:11:30 EST 2018

textscreen: Make name member const in txt_font_t

--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -34,7 +34,7 @@
 
 typedef struct
 {
-    char *name;
+    const char *name;
     const uint8_t *data;
     unsigned int w;
     unsigned int h;