Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/scores.c

    rb987eb4 r28a5ebd  
    126126        cons_event_t ev;
    127127        kbd_event_t *kev;
    128         errno_t rc;
    129128
    130129        clear_screen();
     
    142141        while (true) {
    143142                console_flush(console);
    144                 rc = console_get_event(console, &ev);
    145                 if (rc != EOK)
     143                if (!console_get_event(console, &ev))
    146144                        exit(1);
    147145
    148146                if (ev.type != CEV_KEY || ev.ev.key.type == KEY_RELEASE)
    149                         continue;
    150 
    151                 if ((ev.ev.key.mods & (KM_CTRL | KM_ALT)) != 0)
    152147                        continue;
    153148
Note: See TracChangeset for help on using the changeset viewer.