mirror of
https://github.com/tat3r/tdfiglet.git
synced 2024-11-24 17:16:40 +00:00
lol
This commit is contained in:
parent
f4e9b4ca73
commit
81ba0e57d7
@ -425,10 +425,7 @@ printrow(const glyph_t *glyph, int row)
|
||||
utfchar = glyph->cell[glyph->width * row + i].utfchar;
|
||||
color = glyph->cell[glyph->width * row + i].color;
|
||||
|
||||
if (i == 0) {
|
||||
printcolor(color);
|
||||
lastcolor = color;
|
||||
} else if (color != lastcolor) {
|
||||
if (i == 0 || color != lastcolor) {
|
||||
printcolor(color);
|
||||
lastcolor = color;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user