1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 09:29:29 +00:00

fix volume increasing

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10231 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-06-01 12:33:32 +00:00
parent 7beb6ae6f8
commit f69de943f3

View File

@ -74,9 +74,11 @@ int getch2(int time){
return KEY_RIGHT;
case VK_DOWN:
return KEY_DOWN;
case VK_SHIFT:
continue;
}
/*check for function keys*/
if(eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70)
if(0x87 >= eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70)
return (KEY_F + 1 + eventbuffer[i].Event.KeyEvent.wVirtualKeyCode - 0x70);
/*only characters should be remaining*/