From: mrdudz Date: Wed, 14 Oct 2015 15:34:29 +0000 (+0200) Subject: fix bordercolor in test X-Git-Tag: V2.16~210^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=795a1a1b87a35d6d04e62d6416bc3e2794046d6a;p=cc65 fix bordercolor in test --- diff --git a/testcode/lib/conio.c b/testcode/lib/conio.c index 0dddacfdf..3a8048632 100644 --- a/testcode/lib/conio.c +++ b/testcode/lib/conio.c @@ -35,6 +35,7 @@ void main(void) tcol = textcolor(0); /* remember original textcolor */ bgcol = bgcolor(0); /* remember original background color */ bcol = bordercolor(0); /* remember original border color */ + bgcolor(bgcol);bordercolor(bcol); for (i = 0; i < 3; ++i) { gotoxy(i,3 + i); for (j = 0; j < 16; ++j) { @@ -43,7 +44,6 @@ void main(void) } } textcolor(tcol); - bgcolor(bgcol); cprintf("\n\n\r Screensize is: %dx%d", xsize, ysize );