Browse Source

* src/graphics:

+ Initialise default height at 32 (as in aalib).
tags/v0.99.beta14
Sam Hocevar sam 21 years ago
parent
commit
08aefffbcf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/graphics.c

+ 1
- 1
src/graphics.c View File

@@ -446,7 +446,7 @@ int _caca_init_graphics(void)
if(getenv("CACA_HEIGHT"))
_caca_height = atoi(getenv("CACA_HEIGHT"));
if(!_caca_height)
_caca_height = 25;
_caca_height = 32;

x11_screen = malloc(_caca_width * _caca_height * sizeof(int));
if(x11_screen == NULL)


Loading…
Cancel
Save