Make TXT_NewLabel parameter const
This commit is contained in:
parent
50e55526b3
commit
6283e91fbd
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ void TXT_SetLabel(txt_label_t *label, const char *value)
|
|||
}
|
||||
}
|
||||
|
||||
txt_label_t *TXT_NewLabel(char *text)
|
||||
txt_label_t *TXT_NewLabel(const char *text)
|
||||
{
|
||||
txt_label_t *label;
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ struct txt_label_s
|
|||
* @return Pointer to the new label widget.
|
||||
*/
|
||||
|
||||
txt_label_t *TXT_NewLabel(char *label);
|
||||
txt_label_t *TXT_NewLabel(const char *label);
|
||||
|
||||
/**
|
||||
* Set the string displayed in a label widget.
|
||||
|
|
|
|||
Loading…
Reference in a new issue