Browse Source

I forgot to initialise dirty_disabled in the canvas constructor.

tags/v0.99.beta17
Sam Hocevar sam 15 years ago
parent
commit
f5598e7b4f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      caca/canvas.c

+ 1
- 0
caca/canvas.c View File

@@ -94,6 +94,7 @@ caca_canvas_t * caca_create_canvas(int width, int height)
caca_set_color_ansi(cv, CACA_DEFAULT, CACA_TRANSPARENT);

cv->ndirty = 0;
cv->dirty_disabled = 0;
cv->ff = NULL;

if(caca_resize(cv, width, height) < 0)


Loading…
Cancel
Save