Revert "render: last_buf may point to a free:d buffer"

This reverts commit 4d3251a93b.
This commit is contained in:
Daniel Eklöf 2019-11-02 01:28:29 +01:00
parent c6c75298f3
commit bf9aff056a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 9 additions and 23 deletions

View file

@ -276,11 +276,7 @@ struct terminal {
struct cell *cell; /* For easy access to content */
} last_cursor;
struct {
struct buffer *buf; /* Buffer we rendered to last time */
int width;
int height;
} last_shm;
struct buffer *last_buf; /* Buffer we rendered to last time */
bool was_flashing; /* Flash was active last time we rendered */
bool was_searching;
} render;