[View] Fix wrong bitmask checking. (& not |)

This commit is contained in:
Dave Davenport 2023-01-30 21:14:57 +01:00
parent e65b90757f
commit caa92637f1
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ static void input_history_save ( void )
void __create_window(MenuFlags menu_flags) {
// In password mode, disable the entry history.
if ( (menu_flags|MENU_PASSWORD) == MENU_PASSWORD ) {
if ( (menu_flags&MENU_PASSWORD) == MENU_PASSWORD ) {
CacheState.entry_history_enable = FALSE;
}
input_history_initialize();