fix f12 when not on button in options

This commit is contained in:
Nick Chan committed 2023-02-05 17:41:05 +08:00
1 parent 89ed9e7565
commit 6f88b0cd26
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}