tui: Silence PVS/V560: condition is set to true in prev-previous if()

This commit is contained in:
ZyX
2018-04-22 20:16:58 +03:00
parent 9da2e7b021
commit f9b728e2f8

View File

@@ -1770,7 +1770,8 @@ static void flush_buf(UI *ui)
bufp++;
}
if (!data->busy && data->is_invisible) {
if (!data->busy) {
assert(data->is_invisible);
// not busy and the cursor is invisible. Write a "cursor normal" command
// after writing the buffer.
bufp->base = data->norm;