foxygit / doom Log in
commit f766714b811f7957754443db4766257bd01422ea
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 22 19:04:12 2019 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 22 19:04:12 2019 +0200

    setup: Make AddSectionLabel title parameter const
---
 src/setup/keyboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/setup/keyboard.c b/src/setup/keyboard.c
index 5fb2378d..80a06278 100644
--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -158,7 +158,7 @@ static void AddKeyControl(TXT_UNCAST_ARG(table), const char *name, int *var)
     TXT_SignalConnect(key_input, "set", KeySetCallback, var);
 }

-static void AddSectionLabel(TXT_UNCAST_ARG(table), char *title,
+static void AddSectionLabel(TXT_UNCAST_ARG(table), const char *title,
                             boolean add_space)
 {
     TXT_CAST_ARG(txt_table_t, table);