From: David Lawrence Ramsey Date: Wed, 10 May 2006 12:48:47 +0000 (+0000) Subject: formatting fixes X-Git-Tag: v1.3.12~187 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8992d0adaaacc3722c4eb0bc0e6eb3b64982be0f;p=nano.git formatting fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/nano.c b/src/nano.c index c2e60dda..04dcb9e4 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1282,12 +1282,12 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool #ifndef DISABLE_MOUSE if (allow_funcs) { - /* If we got a mouse click and it was on a shortcut, read in the - * shortcut character. */ - if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) - input = do_mouse() ? get_kbinput(edit, meta_key, func_key) : + /* If we got a mouse click and it was on a shortcut, read in the + * shortcut character. */ + if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) + input = do_mouse() ? get_kbinput(edit, meta_key, func_key) : ERR; -} + } #endif /* Check for a shortcut in the main list. */ diff --git a/src/prompt.c b/src/prompt.c index 15107134..b22f8658 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -70,12 +70,12 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *s_or_t, #ifndef DISABLE_MOUSE if (allow_funcs) { - /* If we got a mouse click and it was on a shortcut, read in the - * shortcut character. */ - if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) - input = do_statusbar_mouse() ? get_kbinput(bottomwin, meta_key, - func_key) : ERR; -} + /* If we got a mouse click and it was on a shortcut, read in the + * shortcut character. */ + if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) + input = do_statusbar_mouse() ? get_kbinput(bottomwin, + meta_key, func_key) : ERR; + } #endif /* Check for a shortcut in the current list. */