mirror of git://git.sv.gnu.org/nano.git
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:
parent
4a915b1ed5
commit
f0e69b4a51
|
@ -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]));
|
||||
|
|
Loading…
Reference in New Issue