From 7be0932b8f5b3d22986be0daf1027774fc026a88 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 1 Apr 2006 15:56:31 +0000 Subject: [PATCH] ((`)_.._ ,'-. _..._ _._ * Ooops. Compilation fix. \,' '-._.-\ ' ` .-' .' / ( / S | _ _ \ | a \ o o | ; m .-. / ; ', '-.( '')-' '. | ;-' \ / / / /-._ __, 7 | \ `\ \`` | | | \ \_,\ | |_,\ '-`' \_,\ --- cucul/canvas.c | 4 ++-- cucul/sprite.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cucul/canvas.c b/cucul/canvas.c index 8cf9e91..2a0dd0d 100644 --- a/cucul/canvas.c +++ b/cucul/canvas.c @@ -195,8 +195,8 @@ void cucul_get_screen(cucul_t const *qq, char *buffer) */ void cucul_clear(cucul_t *qq) { - enum cucul_color oldfg = cucul_get_fg_color(qq); - enum cucul_color oldbg = cucul_get_bg_color(qq); + enum cucul_color oldfg = qq->fgcolor; + enum cucul_color oldbg = qq->bgcolor; int y = qq->height; cucul_set_color(qq, CUCUL_COLOR_LIGHTGRAY, CUCUL_COLOR_BLACK); diff --git a/cucul/sprite.c b/cucul/sprite.c index 4001bc3..13103d8 100644 --- a/cucul/sprite.c +++ b/cucul/sprite.c @@ -275,8 +275,8 @@ void cucul_draw_sprite(cucul_t *qq, int x, int y, struct cucul_sprite const *spr frame = &sprite->frames[f]; - oldfg = cucul_get_fg_color(qq); - oldbg = cucul_get_bg_color(qq); + oldfg = qq->fgcolor; + oldbg = qq->bgcolor; for(j = 0; j < frame->h; j++) {