From: David Lawrence Ramsey Date: Mon, 27 Sep 2004 01:10:48 +0000 (+0000) Subject: add missing func_key reference X-Git-Tag: v1.3.5~176 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=45f971d69be444d3d02ee4ec31d31a9d4f55e4c6;p=nano.git add missing func_key reference git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1944 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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();