diff --git a/textscreen/txt_checkbox.c b/textscreen/txt_checkbox.c index 8610c719..49f66f43 100644 --- a/textscreen/txt_checkbox.c +++ b/textscreen/txt_checkbox.c @@ -116,7 +116,7 @@ txt_widget_class_t txt_checkbox_class = NULL, }; -txt_checkbox_t *TXT_NewCheckBox(char *label, int *variable) +txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable) { txt_checkbox_t *checkbox; diff --git a/textscreen/txt_checkbox.h b/textscreen/txt_checkbox.h index 08f37d44..91e7d61c 100644 --- a/textscreen/txt_checkbox.h +++ b/textscreen/txt_checkbox.h @@ -55,7 +55,7 @@ struct txt_checkbox_s * @return Pointer to the new checkbox. */ -txt_checkbox_t *TXT_NewCheckBox(char *label, int *variable); +txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable); /** * Create a new inverted checkbox.