diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-05 17:50:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-05 17:50:43 +0000 |
| commit | 29a0c925b7f54fbb3d348c20d0d4166f38f93e72 (patch) | |
| tree | b76b288540c9b28971f0df36e679e39f1fe23e5a /render.c | |
| parent | term: disable debug logging (diff) | |
| parent | box-drawing: wedges: fix alignment of inverted wedges (diff) | |
Merge branch 'box-drawing-wedges'
Closes #474
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -538,18 +538,15 @@ render_cell(struct terminal *term, pixman_image_t *pix, */ /* Unicode 13 sextants */ - (base >= 0x1fb00 && base <= 0x1fb3b) || - - /* Unicode 13 partial blocks */ - /* TODO: there's more here! */ - (base >= 0x1fb70 && base <= 0x1fb8b)) && + (base >= 0x1fb00 && base <= 0x1fb8b) || + (base >= 0x1fb9a && base <= 0x1fb9b)) && likely(!term->conf->box_drawings_uses_font_glyphs)) { /* Box drawing characters */ size_t idx = base >= 0x1fb00 - ? (base >= 0x1fb70 - ? base - 0x1fb70 + 220 + ? (base >= 0x1fb9a + ? base - 0x1fb9a + 300 : base - 0x1fb00 + 160) : base - 0x2500; xassert(idx < ALEN(term->box_drawing)); |
