formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3493 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
02a7f84412
Коммит
8992d0adaa
10
src/nano.c
10
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. */
|
||||
|
12
src/prompt.c
12
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. */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user