nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 2690bafa155004cc0cd74ecd742c7c21f3dfe805
parent e7c4168ee167ee0ada6de9ac194e7d8087c36758
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 23 Oct 2004 14:59:32 +0000

add missing parentheses


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2019 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/winio.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -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 * shortcut list. */ - if (kbinput != NANO_NO_KEY && kbinput == s->ctrlval || + if (kbinput != NANO_NO_KEY && (kbinput == s->ctrlval || (*meta_key == TRUE && (kbinput == s->metaval || kbinput == s->miscval)) || (*func_key == TRUE && - kbinput == s->funcval)) { + kbinput == s->funcval))) { break; }