From f766714b811f7957754443db4766257bd01422ea Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 22 Jan 2019 19:04:12 +0200 Subject: [PATCH] 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);