Browse Source

* Fixed a C99ism.

tags/v0.99.beta14
Sam Hocevar sam 21 years ago
parent
commit
ea11064df1
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/caca.c

+ 4
- 2
src/caca.c View File

@@ -68,6 +68,10 @@ char *_caca_screen;


int caca_init(void) int caca_init(void)
{ {
#if defined(USE_NCURSES)
mmask_t newmask;
#endif

caca_init_terminal(); caca_init_terminal();


#if defined(USE_SLANG) #if defined(USE_SLANG)
@@ -102,8 +106,6 @@ int caca_init(void)
SLtt_Term_Cannot_Scroll = 1; SLtt_Term_Cannot_Scroll = 1;


#elif defined(USE_NCURSES) #elif defined(USE_NCURSES)
mmask_t newmask;

initscr(); initscr();
keypad(stdscr, TRUE); keypad(stdscr, TRUE);
nonl(); nonl();


Loading…
Cancel
Save