vt: fix silly bug causing characters be drawn one at a time

This commit is contained in:
cinap_lenrek 2017-08-09 18:53:48 +02:00
parent ef3af6eaa3
commit 4be612946f

View file

@ -372,7 +372,7 @@ drawscreen(void)
cp = onscreenc(x, y);
c = fgcol(*ap, *cp);
for(n = 1; x+n <= xmax && rp[n] != 0 && fgcol(ap[n], cp[n]) == c
&& (ap[n] ^ *ap) & TUnderline == 0; n++)
&& ((ap[n] ^ *ap) & TUnderline) == 0; n++)
;
p = pt(x, y);
q = runestringn(screen, p, c, ZP, font, rp, n);