Make TXT_NewSeparator parameter const

This commit is contained in:
Turo Lamminen 2018-03-13 19:47:59 +02:00
parent a6fbae76cd
commit 569787da58
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ txt_widget_class_t txt_separator_class =
NULL,
};
txt_separator_t *TXT_NewSeparator(char *label)
txt_separator_t *TXT_NewSeparator(const char *label)
{
txt_separator_t *separator;

View file

@ -50,7 +50,7 @@ extern txt_widget_class_t txt_separator_class;
* @return The new separator widget.
*/
txt_separator_t *TXT_NewSeparator(char *label);
txt_separator_t *TXT_NewSeparator(const char *label);
/**
* Change the label on a separator.