diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 5624a7fc3..896bbc88c 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -90,7 +90,8 @@ static bool BB_ispunct(CHAR_T c) { return ((unsigned)c < 256 && ispunct(c)); } | |||
90 | # define CHAR_T char | 90 | # define CHAR_T char |
91 | # define BB_isspace(c) isspace(c) | 91 | # define BB_isspace(c) isspace(c) |
92 | # if ENABLE_FEATURE_EDITING_VI | 92 | # if ENABLE_FEATURE_EDITING_VI |
93 | static bool BB_isalnum_or_underscore(CHAR_T c) { | 93 | static bool BB_isalnum_or_underscore(CHAR_T c) |
94 | { | ||
94 | return ((unsigned)c < 256 && isalnum(c)) || c == '_'; | 95 | return ((unsigned)c < 256 && isalnum(c)) || c == '_'; |
95 | } | 96 | } |
96 | # endif | 97 | # endif |