From: David Lawrence Ramsey Date: Wed, 16 Nov 2005 02:45:10 +0000 (+0000) Subject: in do_statusbar_input(), fix misplaced break when handling X-Git-Tag: v1.3.10~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9d3a468ad873db87dad1b02d1aec8ea768891fb8;p=nano.git in do_statusbar_input(), fix misplaced break when handling NANO_VERBATIM_KEY git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3184 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index a3521b1c..fc8d9916 100644 --- a/ChangeLog +++ b/ChangeLog @@ -133,6 +133,9 @@ CVS code - (DLR) - nano.h: - Readd MIN_EDITOR_COLS #define. (DLR) +- prompt.c: + do_statusbar_input() + - Fix misplaced break when handling NANO_VERBATIM_KEY. (DLR) - rcfile.c: do_rcfile() - Remove unneeded assert. (DLR) diff --git a/src/prompt.c b/src/prompt.c index 6fe6aafa..c2db21bc 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -210,8 +210,8 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *s_or_t, *finished = TRUE; } } - break; } + break; /* Handle the normal statusbar prompt shortcuts, setting * ran_func to TRUE if we try to run their associated * functions and setting finished to TRUE to indicate