From dd332080ce241144c46de45834414fc009547eed Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 10 Aug 2021 17:07:43 +0200 Subject: [PATCH] [plain] Another cases --- src/document/plain/renderer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/document/plain/renderer.c b/src/document/plain/renderer.c index 09cc522ce..715cece94 100644 --- a/src/document/plain/renderer.c +++ b/src/document/plain/renderer.c @@ -923,14 +923,16 @@ fixup_tables(struct plain_renderer *renderer) break; case '-': if (prev_char == BORDER_SHLINE || prev_char == BORDER_SCROSS || prev_char == '+' || prev_char == '|' - || prev_char == BORDER_SULCORNER || prev_char == BORDER_SDLCORNER || prev_char == BORDER_SRTEE) { + || prev_char == BORDER_SULCORNER || prev_char == BORDER_SDLCORNER || prev_char == BORDER_SRTEE + || prev_char == BORDER_SUTEE || prev_char == BORDER_SDTEE) { line->chars[x].data = BORDER_SHLINE; line->chars[x].attr = SCREEN_ATTR_FRAME; } break; case '|': if (up_char == BORDER_SVLINE || up_char == '+' || up_char == '|' || up_char == BORDER_SULCORNER - || up_char == BORDER_SURCORNER || up_char == BORDER_SCROSS || up_char == BORDER_SRTEE || up_char == BORDER_SLTEE) { + || up_char == BORDER_SURCORNER || up_char == BORDER_SCROSS || up_char == BORDER_SRTEE || up_char == BORDER_SLTEE + || up_char == BORDER_SDTEE) { if (next_char == '-') { line->chars[x].data = BORDER_SRTEE; } else if (prev_char == BORDER_SHLINE || prev_char == '-') {