typo
This commit is contained in:
parent
5fafd70b0f
commit
f6d4b8e0b0
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ encode_key(const KeyEvent *ev, char *output) {
|
|||
|
||||
static inline bool
|
||||
startswith_ascii_control_char(const char *p) {
|
||||
if (!p || !*p) return false;
|
||||
if (!p || !*p) return true;
|
||||
uint32_t codep, state = UTF8_ACCEPT;
|
||||
while(*p) {
|
||||
if (decode_utf8(&state, &codep, *p) == UTF8_ACCEPT) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue