Pārlūkot izejas kodu

((`)_.._ ,'-. _..._ _._

* Ooops. Compilation fix.   \,'    '-._.-\  '     ` .-'
                             .'            /         (
                            /    S        |     _   _ \
                           |        a     \     o   o  |
                           ;           m         .-.   /
                            ;       ',       '-.( '')-'
                             '.      |           ;-'
                               \    /           /
                               /   /-._  __,  7 |
                               \  `\  \``  |  | |
                                \   \_,\   |  |_,\
                                 '-`'      \_,\
tags/v0.99.beta14
Sam Hocevar sam pirms 18 gadiem
vecāks
revīzija
7be0932b8f
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. +2
    -2
      cucul/canvas.c
  2. +2
    -2
      cucul/sprite.c

+ 2
- 2
cucul/canvas.c Parādīt failu

@@ -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);


+ 2
- 2
cucul/sprite.c Parādīt failu

@@ -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++)
{


Notiek ielāde…
Atcelt
Saglabāt