nano

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

commit 45f971d69be444d3d02ee4ec31d31a9d4f55e4c6
parent eb16f43cf9de67953b8779956a69a73a52cf87b7
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 27 Sep 2004 01:10:48 +0000

add missing func_key reference


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -2606,7 +2606,7 @@ void do_justify(bool full_justify) * keystroke and return. */ kbinput = get_edit_input(&meta_key, &func_key, FALSE); - if (!meta_key && kbinput == NANO_UNJUSTIFY_KEY) { + if (!meta_key && !func_key && kbinput == NANO_UNJUSTIFY_KEY) { /* Restore the justify we just did (ungrateful user!). */ filestruct *cutbottom = get_cutbottom();