add missing parentheses

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2019 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-10-23 14:59:32 +00:00
parent e7c4168ee1
commit 2690bafa15
1 changed files with 2 additions and 2 deletions

View File

@ -1415,10 +1415,10 @@ const shortcut *get_shortcut(const shortcut *s_list, int kbinput, bool
* 4. func_key is TRUE and the key is a function key in the * 4. func_key is TRUE and the key is a function key in the
* shortcut list. */ * shortcut list. */
if (kbinput != NANO_NO_KEY && kbinput == s->ctrlval || if (kbinput != NANO_NO_KEY && (kbinput == s->ctrlval ||
(*meta_key == TRUE && (kbinput == s->metaval || (*meta_key == TRUE && (kbinput == s->metaval ||
kbinput == s->miscval)) || (*func_key == TRUE && kbinput == s->miscval)) || (*func_key == TRUE &&
kbinput == s->funcval)) { kbinput == s->funcval))) {
break; break;
} }