typo
This commit is contained in:
@@ -349,7 +349,7 @@ encode_key(const KeyEvent *ev, char *output) {
|
|||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
startswith_ascii_control_char(const char *p) {
|
startswith_ascii_control_char(const char *p) {
|
||||||
if (!p || !*p) return false;
|
if (!p || !*p) return true;
|
||||||
uint32_t codep, state = UTF8_ACCEPT;
|
uint32_t codep, state = UTF8_ACCEPT;
|
||||||
while(*p) {
|
while(*p) {
|
||||||
if (decode_utf8(&state, &codep, *p) == UTF8_ACCEPT) {
|
if (decode_utf8(&state, &codep, *p) == UTF8_ACCEPT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user