Procházet zdrojové kódy

* Fixed a C99ism.

tags/v0.99.beta14
Sam Hocevar sam před 22 roky
rodič
revize
ea11064df1
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. +4
    -2
      src/caca.c

+ 4
- 2
src/caca.c Zobrazit soubor

@@ -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();


Načítá se…
Zrušit
Uložit