Make TXT_SetLabel value parameter const
This commit is contained in:
parent
aa555a22c1
commit
50e55526b3
2 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,7 @@ txt_widget_class_t txt_label_class =
|
|||
NULL,
|
||||
};
|
||||
|
||||
void TXT_SetLabel(txt_label_t *label, char *value)
|
||||
void TXT_SetLabel(txt_label_t *label, const char *value)
|
||||
{
|
||||
char *p;
|
||||
unsigned int y;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ txt_label_t *TXT_NewLabel(char *label);
|
|||
* @param value The string to display (UTF-8 format).
|
||||
*/
|
||||
|
||||
void TXT_SetLabel(txt_label_t *label, char *value);
|
||||
void TXT_SetLabel(txt_label_t *label, const char *value);
|
||||
|
||||
/**
|
||||
* Set the background color of a label widget.
|
||||
|
|
|
|||
Loading…
Reference in a new issue