Pārlūkot izejas kodu

do not split a fullwidth character in the middle. yes, in some

degenerate cases this will lead to incorrectly-displayed tables. i
don't yet have a solution.
tags/v0.99.beta17
Ben Wiley Sittler bsittler pirms 16 gadiem
vecāks
revīzija
e8756c7c46
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      caca/codec/export.c

+ 2
- 0
caca/codec/export.c Parādīt failu

@@ -531,6 +531,8 @@ static void *export_html3(caca_canvas_t const *cv, size_t *bytes)
:
has_multi_cell_row))
||
(linechar[x + len] == CACA_MAGIC_FULLWIDTH)
||
(cv->height == 1))
&&
(caca_attr_to_ansi_bg(lineattr[x + len])


Notiek ielāde…
Atcelt
Saglabāt