diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-08 18:25:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-08 18:25:41 +0000 |
| commit | 6d48f0f2a565dd1a452bcf491f9da30fc144d982 (patch) | |
| tree | 1c436b782cdb84dd1426d09965a8494bb0ebe2ea | |
| parent | main: verify compositor has WL_SHM_FORMAT_ARGB8888 (diff) | |
render: hackerman
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ render_cell(struct terminal *term, struct buffer *buf, const struct cell *cell, : !term->reverse ? &term->background : &term->foreground; /* If *one* is set, we reverse */ - if (has_cursor != cell->attrs.reverse) { + if (has_cursor ^ cell->attrs.reverse) { const struct rgb *swap = foreground; foreground = background; background = swap; |
