Changeset 274 for libcaca/trunk/src/graphics.c
- Timestamp:
- Dec 24, 2003, 4:43:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/graphics.c
r273 r274 521 521 int i; 522 522 523 if(getenv("CACA_WIDTH")) 524 _caca_width = atoi(getenv("CACA_WIDTH")); 523 if(getenv("CACA_GEOMETRY")) 524 sscanf(getenv("CACA_GEOMETRY"), 525 "%ux%u", &_caca_width, &_caca_height); 526 525 527 if(!_caca_width) 526 528 _caca_width = 80; 527 528 if(getenv("CACA_HEIGHT"))529 _caca_height = atoi(getenv("CACA_HEIGHT"));530 529 if(!_caca_height) 531 530 _caca_height = 32;
Note: See TracChangeset
for help on using the changeset viewer.