Make TXT_NewInvertedCheckBox label parameter const
This commit is contained in:
parent
27a28b8ad9
commit
5f82ebd75b
2 changed files with 2 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable)
|
|||
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;
|
||||
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ txt_checkbox_t *TXT_NewCheckBox(const char *label, int *variable);
|
|||
* @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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue