From 795a1a1b87a35d6d04e62d6416bc3e2794046d6a Mon Sep 17 00:00:00 2001 From: mrdudz Date: Wed, 14 Oct 2015 17:34:29 +0200 Subject: [PATCH] fix bordercolor in test --- testcode/lib/conio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5