shithub: choc

Download patch

ref: fff3741c781c0faa0c80ed60b8957e74f7dd3d7f
parent: 54a38844f79ba18122e185ad4f8ad9108f703e78
author: Turo Lamminen <[email protected]>
date: Tue Mar 6 13:33:51 EST 2018

textscreen: Make FontForName parameter const

--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -133,7 +133,7 @@
 
 #endif
 
-static const txt_font_t *FontForName(char *name)
+static const txt_font_t *FontForName(const char *name)
 {
     int i;
     const txt_font_t *fonts[] =