Skip to content

Commit fe1f208

Browse files
committed
Reset the function return code when opening/closing the menu
This helps to avoid any bugs with it not being reset.
1 parent 1b39721 commit fe1f208

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ttyd-tools/rel/source/menufunctions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ void resetMenuToRoot()
6969
{
7070
CurrentMenu = ROOT;
7171
MenuSelectedOption = 0;
72+
FunctionReturnCode = 0;
7273
HideMenu = false;
7374
resetMenu();
7475
}

0 commit comments

Comments
 (0)