nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 9d3a468ad873db87dad1b02d1aec8ea768891fb8
parent c5c5230b9d246621adc53b68a3795a2a12303efd
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed, 16 Nov 2005 02:45:10 +0000

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

Diffstat:
MChangeLog | 3+++
Msrc/prompt.c | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git 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 @@ -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