Mercurial > mplayer.hg
view mp_fifo.h @ 24515:c5c0cb0e90d2
getch2: Fix incorrect test
Keycode length wasn't checked in one case because of missing
parentheses. This was accidentally broken in my previous commit to the
file. Most likely the error had no practical effect; the length checks
are unreliable in any case as they can be satisfied by unrelated
data corresponding to other keypresses.
author | uau |
---|---|
date | Sat, 15 Sep 2007 18:13:56 +0000 |
parents | cd0ec0b1d931 |
children | dfca45ad9326 |
line wrap: on
line source
#ifndef MP_FIFO_H #define MP_FIFO_H int mplayer_get_key(int fd); void mplayer_put_key(int code); #endif