From c0f77b4e183cac2d73eba75000e098ccee0f35cc Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 9 Mar 2006 12:44:49 +0000 Subject: [PATCH] * Cosmetic change. --- caca/driver_conio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/caca/driver_conio.c b/caca/driver_conio.c index 69093f5..b8acca8 100644 --- a/caca/driver_conio.c +++ b/caca/driver_conio.c @@ -97,10 +97,11 @@ static unsigned int conio_get_window_height(caca_t *kk) static void conio_display(caca_t *kk) { - int n; char *screen = kk->drv.p->screen; uint8_t *attr = kk->qq->attr; uint32_t *chars = kk->qq->chars; + int n; + for(n = kk->qq->height * kk->qq->width; n--; ) { uint32_t c = *chars++;