From 18b1092932265b9ecc193eb9ecc35adf77631745 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 1 Jan 2014 22:21:38 +0000 Subject: [PATCH] 2014-01-01 Chris Allegretta * src/global.c (strtokeytype) - Check for lower-case 'f' for defining F-key sequences for consistency (previously was two checks for upper case F). Fixes bug 40815 reported by David Binderman . git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4581 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 5 +++++ src/global.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73735737..557826e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-01 Chris Allegretta + * src/global.c (strtokeytype) - Check for lower-case 'f' for defining F-key + sequences for consistency (previously was two checks for upper case F). Fixes + bug 40815 reported by David Binderman . + 2013-06-13 Matthew Fischer * doc/syntax/c.nanorc - Add auto keyword diff --git a/src/global.c b/src/global.c index 46bad8d7..172ee50b 100644 --- a/src/global.c +++ b/src/global.c @@ -271,7 +271,7 @@ function_type strtokeytype(const char *str) return META; else if (str[0] == '^') return CONTROL; - else if (str[0] == 'F' || str[0] == 'F') + else if (str[0] == 'F' || str[0] == 'f') return FKEY; else return RAWINPUT; -- 2.39.5