Make TXT_NewInvertedCheckBox label parameter const

This commit is contained in:
Turo Lamminen 2018-03-06 19:22:26 +02:00
parent 27a28b8ad9
commit 5f82ebd75b
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable)
return checkbox; return checkbox;
} }
txt_checkbox_t *TXT_NewInvertedCheckBox(char *label, int *variable) txt_checkbox_t *TXT_NewInvertedCheckBox(const char *label, int *variable)
{ {
txt_checkbox_t *result; txt_checkbox_t *result;

View file

@ -69,7 +69,7 @@ txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable);
* @return Pointer to the new checkbox. * @return Pointer to the new checkbox.
*/ */
txt_checkbox_t *TXT_NewInvertedCheckBox(char *label, int *variable); txt_checkbox_t *TXT_NewInvertedCheckBox(const char *label, int *variable);
#endif /* #ifndef TXT_CHECKBOX_H */ #endif /* #ifndef TXT_CHECKBOX_H */