Browse Source

* Restore attribute settings before resizing the canvas in the frame test.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
40670f6322
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/frames.c

+ 1
- 1
test/frames.c View File

@@ -52,6 +52,7 @@ int main(int argc, char *argv[])
cucul_fill_box(cv, 0, 0, 40, 15, ':');
cucul_set_color_ansi(cv, CUCUL_WHITE, CUCUL_BLUE);
cucul_putstr(cv, frame * 5 / 2, frame, "カカ");
cucul_set_color_ansi(cv, CUCUL_DEFAULT, CUCUL_TRANSPARENT);
}

/* Resize it to a more decent size */
@@ -60,7 +61,6 @@ int main(int argc, char *argv[])
fprintf(stderr, "canvas shrinked, size is %ix%i\n",
cucul_get_canvas_width(cv), cucul_get_canvas_height(cv));

cucul_set_color_ansi(cv, CUCUL_DEFAULT, CUCUL_TRANSPARENT);
dp = caca_create_display(cv);
caca_set_display_time(dp, 50000);



Loading…
Cancel
Save