From 8992d0adaaacc3722c4eb0bc0e6eb3b64982be0f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 10 May 2006 12:48:47 +0000 Subject: [PATCH] formatting fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 10 +++++----- src/prompt.c | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) 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. */ -- 2.39.5