mirror of
https://github.com/tat3r/tdfiglet.git
synced 2024-11-17 13:46:41 +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;
|
utfchar = glyph->cell[glyph->width * row + i].utfchar;
|
||||||
color = glyph->cell[glyph->width * row + i].color;
|
color = glyph->cell[glyph->width * row + i].color;
|
||||||
|
|
||||||
if (i == 0) {
|
if (i == 0 || color != lastcolor) {
|
||||||
printcolor(color);
|
|
||||||
lastcolor = color;
|
|
||||||
} else if (color != lastcolor) {
|
|
||||||
printcolor(color);
|
printcolor(color);
|
||||||
lastcolor = color;
|
lastcolor = color;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user