From 45f971d69be444d3d02ee4ec31d31a9d4f55e4c6 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 27 Sep 2004 01:10:48 +0000 Subject: [PATCH] add missing func_key reference git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index f6a2d4e2..f783f5d3 100644 --- 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(); -- 2.39.5