diff options
author | Dave Davenport <qball@blame.services> | 2023-01-30 21:14:57 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2023-01-30 21:14:57 +0100 |
commit | caa92637f1a436d2f629f92b301f1b374e72f6c1 (patch) | |
tree | 3d23817abef12d9b5ea8f4d8756ed0419204187a | |
parent | e65b90757f9f88660a14987c91f8c5e58cc745b0 (diff) |
[View] Fix wrong bitmask checking. (& not |)
-rw-r--r-- | source/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/view.c b/source/view.c index acb96e79..011b23e1 100644 --- a/source/view.c +++ b/source/view.c @@ -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(); |