mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[plain] Replace - by BORDER_SHLINE if next_char is -
Spotted in bittorrent.txt.
This commit is contained in:
parent
aa2becc3b0
commit
30741b0676
@ -975,7 +975,7 @@ fixup_tables(struct plain_renderer *renderer)
|
|||||||
case '-':
|
case '-':
|
||||||
if (prev_char == BORDER_SHLINE || prev_char == BORDER_SCROSS || prev_char == '+' || prev_char == '|'
|
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) {
|
|| prev_char == BORDER_SUTEE || prev_char == BORDER_SDTEE || next_char == '-') {
|
||||||
line->ch.chars[x].data = BORDER_SHLINE;
|
line->ch.chars[x].data = BORDER_SHLINE;
|
||||||
line->ch.chars[x].attr = SCREEN_ATTR_FRAME;
|
line->ch.chars[x].attr = SCREEN_ATTR_FRAME;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user