Ignore:
Timestamp:
Apr 22, 2006, 9:46:43 PM (14 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/dithering.c

    r819 r849  
    1313
    1414#include "config.h"
     15
     16#include <stdio.h>
    1517
    1618#include "cucul.h"
     
    3537int main(void)
    3638{
    37     caca_event_t ev;
    3839    cucul_canvas_t *cv;
    3940    caca_display_t *dp;
     
    125126    caca_refresh_display(dp);
    126127
    127     caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, -1);
     128    caca_get_event(dp, CACA_EVENT_KEY_PRESS, NULL, -1);
    128129
    129130    caca_free_display(dp);
Note: See TracChangeset for help on using the changeset viewer.