mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-02 06:20:34 +01: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);
|
newtComponent buttonPressed = newtFormGetCurrent(form);
|
||||||
if (buttonPressed == backButton) {
|
if (buttonPressed == backButton) {
|
||||||
ret = MAIN_SCREEN;
|
ret = MAIN_SCREEN;
|
||||||
} else assert(0);
|
} else ret = MAIN_SCREEN;
|
||||||
newtFormDestroy(form);
|
newtFormDestroy(form);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user