This commit is contained in:
Kovid Goyal 2018-07-24 09:32:21 +05:30
parent e0ff6bcc5d
commit f84cb2f07a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1179,10 +1179,7 @@ do_parse_bytes(Screen *screen, const uint8_t *read_buf, const size_t read_buf_sz
state = screen->pending_mode.used ? PARSE_PENDING : PARSE_READ_BUF;
} else state = QUEUE_PENDING;
} else {
if (screen->pending_mode.used) state = PARSE_PENDING;
else {
state = PARSE_READ_BUF;
}
state = screen->pending_mode.used ? PARSE_PENDING : PARSE_READ_BUF;
}
break;