commit 8992d0adaaacc3722c4eb0bc0e6eb3b64982be0f
parent 02a7f8441206f7db0fb5a77531abed1ab8190828
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 10 May 2006 12:48:47 +0000
formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git 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
@@ -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. */