Make TXT_NewRadioButton label parameter const
This commit is contained in:
parent
71ea0f904f
commit
aacff41c26
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ txt_widget_class_t txt_radiobutton_class =
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
txt_radiobutton_t *TXT_NewRadioButton(char *label, int *variable, int value)
|
txt_radiobutton_t *TXT_NewRadioButton(const char *label, int *variable, int value)
|
||||||
{
|
{
|
||||||
txt_radiobutton_t *radiobutton;
|
txt_radiobutton_t *radiobutton;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ struct txt_radiobutton_s
|
||||||
* @return Pointer to the new radio button widget.
|
* @return Pointer to the new radio button widget.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
txt_radiobutton_t *TXT_NewRadioButton(char *label, int *variable, int value);
|
txt_radiobutton_t *TXT_NewRadioButton(const char *label, int *variable, int value);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the label on a radio button.
|
* Set the label on a radio button.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue