shithub: choc

Download patch

ref: 80816d072506256d38cf2c2cf796adc86c489dff
parent: 6e18c2ecdcf43654a202e774f1def3266292be93
author: Turo Lamminen <[email protected]>
date: Tue Jan 22 14:07:54 EST 2019

setup: Make AddMouseControl label parameter const

--- a/src/setup/mouse.c
+++ b/src/setup/mouse.c
@@ -67,7 +67,7 @@
     }
 }
 
-static void AddMouseControl(TXT_UNCAST_ARG(table), char *label, int *var)
+static void AddMouseControl(TXT_UNCAST_ARG(table), const char *label, int *var)
 {
     TXT_CAST_ARG(txt_table_t, table);
     txt_mouse_input_t *mouse_input;