diff --git a/ChangeLog b/ChangeLog index 737357376c55456ec4ca106700101a934ac82e09..557826e8459ce6cc30c87ecf01cc981de18e8edb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-01 Chris Allegretta <chrisa@asty.org> + * 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 <dcb314@Savannah>. + 2013-06-13 Matthew Fischer <mfisch@Savannah> * doc/syntax/c.nanorc - Add auto keyword diff --git a/src/global.c b/src/global.c index 46bad8d74b72b5edb9265f2e21f890ceb9d8bbcd..172ee50b7c56959d1c9021da0c3b56c59023ab86 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;