Mercurial > mplayer.hg
changeset 18107:24003616a623
10l, fix broken if (X >= Y >= Z) comparison, probably stopped F-keys from working
author | reimar |
---|---|
date | Sat, 15 Apr 2006 21:18:20 +0000 |
parents | 3a34a728fa1b |
children | ddd84e99f17c |
files | osdep/getch2-win.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/osdep/getch2-win.c Sat Apr 15 21:09:29 2006 +0000 +++ b/osdep/getch2-win.c Sat Apr 15 21:18:20 2006 +0000 @@ -93,7 +93,7 @@ continue; } /*check for function keys*/ - if(0x87 >= eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70) + if(0x87 >= eventbuffer[i].Event.KeyEvent.wVirtualKeyCode && eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70) return (KEY_F + 1 + eventbuffer[i].Event.KeyEvent.wVirtualKeyCode - 0x70); /*only characters should be remaining*/