diff options
author | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
commit | 9c0b2f7020d7c30b21a930ef54be632e092e533b (patch) | |
tree | b2187c40bd2fd9f49f73599fb08e52cb7a596de0 /libbb/lineedit.c | |
parent | a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7 (diff) | |
parent | d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff) | |
download | busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.gz busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.bz2 busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index f4247d237..a36a1647d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -99,7 +99,7 @@ static bool BB_ispunct(CHAR_T c) | |||
99 | # if ENABLE_FEATURE_EDITING_VI | 99 | # if ENABLE_FEATURE_EDITING_VI |
100 | static bool BB_isalnum_or_underscore(CHAR_T c) | 100 | static bool BB_isalnum_or_underscore(CHAR_T c) |
101 | { | 101 | { |
102 | return ((unsigned)c < 256 && isalnum(c)) || c == '_'; | 102 | return isalnum(c) || c == '_'; |
103 | } | 103 | } |
104 | # endif | 104 | # endif |
105 | # define BB_ispunct(c) ispunct(c) | 105 | # define BB_ispunct(c) ispunct(c) |