Ignore:
Timestamp:
Apr 22, 2006, 9:46:43 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/colors.c

    r832 r849  
    2525    cucul_canvas_t *cv;
    2626    caca_display_t *dp;
    27     caca_event_t ev;
    2827    int i, j;
    2928
     
    5251
    5352    caca_refresh_display(dp);
    54     caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, -1);
     53    caca_get_event(dp, CACA_EVENT_KEY_PRESS, NULL, -1);
    5554
    5655    caca_free_display(dp);
Note: See TracChangeset for help on using the changeset viewer.