tweaks: use a pair of parentheses to clarify the order of operations

(Parentheses are used everywhere else with a bitwise &.)
This commit is contained in:
Benno Schulenberg 2024-01-06 17:18:40 +01:00
parent 4a915b1ed5
commit f0e69b4a51

View File

@ -1353,7 +1353,7 @@ static void check_vitals_mapped(void)
for (int v = 0; v < VITALS; v++) {
for (funcstruct *f = allfuncs; f != NULL; f = f->next) {
if (f->func == vitals[v] && f->menus & inmenus[v]) {
if (f->func == vitals[v] && (f->menus & inmenus[v])) {
if (first_sc_for(inmenus[v], f->func) == NULL) {
jot_error(N_("No key is bound to function '%s' in menu '%s'. "
" Exiting.\n"), f->tag, menu_to_name(inmenus[v]));