foxygit / doom Log in
commit fff3741c781c0faa0c80ed60b8957e74f7dd3d7f
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Mar 6 18:33:51 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Mar 13 19:33:47 2018 +0200

    textscreen: Make FontForName parameter const
---
 textscreen/txt_sdl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textscreen/txt_sdl.c b/textscreen/txt_sdl.c
index 28211201..d1764e8a 100644
--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -133,7 +133,7 @@ static int Win32_UseLargeFont(void)

 #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[] =