mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
whups a buffer wasn't saved during the refactor
This commit is contained in:
parent
ef671dd6a3
commit
c81a9a7644
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ fn xmain() -> ! {
|
|||
}
|
||||
Some(Opcode::Unpick) => {
|
||||
if history.len() == 1 {
|
||||
history.remove(0);
|
||||
let _ = history.remove(0);
|
||||
} else if history.len() > 1 {
|
||||
let _ = history.pop(); // discard the last entry
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue