label.c: Set empty text by default
This will avoid crashing the application on rendering due to uninitialized labels.
This commit is contained in:
parent
9e308d97d9
commit
f8c74babda
|
@ -34,6 +34,8 @@ void gui_label_init(struct gui_label *const l)
|
||||||
.common =
|
.common =
|
||||||
{
|
{
|
||||||
.cb = &cb
|
.cb = &cb
|
||||||
}
|
},
|
||||||
|
|
||||||
|
.text = ""
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue