textscreen: Use more const-correct loop in TXT_SetLabel
This commit is contained in:
parent
19a0939300
commit
aa555a22c1
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ void TXT_SetLabel(txt_label_t *label, char *value)
|
||||||
|
|
||||||
label->h = 1;
|
label->h = 1;
|
||||||
|
|
||||||
for (p = value; *p != '\0'; ++p)
|
for (p = label->label; *p != '\0'; ++p)
|
||||||
{
|
{
|
||||||
if (*p == '\n')
|
if (*p == '\n')
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue