~ubuntu-branches/ubuntu/raring/libcaca/raring

« back to all changes in this revision

Viewing changes to test/swallow.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2007-11-25 19:08:40 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071125190840-3r4k9nkxsyo7m3ck
Tags: 0.99.beta13b-1
* New upstream release.

* debian/control:
  + Do not build-depend on the whole texlive suite, but on more fine-grained
    packages. Thanks to Norbert Preining for the hints (latex -recorder, then
    inspect the .fls file).
* Ship libcaca++, libcucul++ and their development files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4
4
 *                All Rights Reserved
5
5
 *
6
 
 *  $Id: swallow.c 1110 2007-02-22 15:31:39Z jylam $
 
6
 *  $Id$
7
7
 *
8
8
 *  This program is free software. It comes without any warranty, to
9
9
 *  the extent permitted by applicable law. You can redistribute it
83
83
        caca_event_t ev;
84
84
        int ret = caca_get_event(dp, CACA_EVENT_ANY, &ev, 0);
85
85
 
86
 
        if(ret && ev.type & CACA_EVENT_KEY_PRESS)
 
86
        if(ret && caca_get_event_type(&ev) & CACA_EVENT_KEY_PRESS)
87
87
            break;
88
88
 
89
89
        for(i = 0; i < 4; i++)