Sfoglia il codice sorgente

Add a comment to the ncurses driver to remember fix the GCC warning.

tags/v0.99.beta17
Sam Hocevar sam 15 anni fa
parent
commit
ed360faabe
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      caca/driver/ncurses.c

+ 1
- 0
caca/driver/ncurses.c Vedi File

@@ -365,6 +365,7 @@ static void ncurses_display(caca_display_t *dp)
move(y, dx);
for(x = dx; x < dx + dw; x++)
{
/* FIXME: this emits a "value computed is unused" warning */
attrset(dp->drv.p->attr[caca_attr_to_ansi(*cvattrs++)]);
ncurses_write_utf32(*cvchars++);
}


Caricamento…
Annulla
Salva