Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/modplay/modplay.c

    r485281e r87822ce  
    174174        while (true) {
    175175                timeout = 0;
    176                 if (console_get_event_timeout(con, &event, &timeout))
     176                rc = console_get_event_timeout(con, &event, &timeout);
     177                if (rc == EOK)
    177178                        modplay_event(&event);
     179                else if (rc != ETIMEOUT)
     180                        break;
     181
    178182                if (quit)
    179183                        break;
Note: See TracChangeset for help on using the changeset viewer.