mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
fix f12 when not on button in options
This commit is contained in:
1 parent
89ed9e7565
commit
6f88b0cd26
1 file changed
+1
-1
@@ -71,7 +71,7 @@ tui_screen_t tui_screen_options() {
|
||||
newtComponent buttonPressed = newtFormGetCurrent(form);
|
||||
if (buttonPressed == backButton) {
|
||||
ret = MAIN_SCREEN;
|
||||
} else assert(0);
|
||||
} else ret = MAIN_SCREEN;
|
||||
newtFormDestroy(form);
|
||||
return ret;
|
||||
}
|
||||
Reference in new issue
Block a user