Null terminated string in demo
This commit is contained in:
parent
0f0a87f3a4
commit
4b3814d6e9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ fn main() -> Result<(), String> {
|
|||
button.set_size(250, 50);
|
||||
|
||||
let mut label = lvgl::Label::new(&mut button);
|
||||
label.set_text("Hello Mundo!");
|
||||
label.set_text("Hello Mundo!\0");
|
||||
|
||||
let mut event_pump = sdl_context.event_pump()?;
|
||||
'running: loop {
|
||||
|
|
Loading…
Reference in a new issue