From f69de943f3a63aec8e8e573fb80a5cdbc149ba28 Mon Sep 17 00:00:00 2001 From: faust3 Date: Sun, 1 Jun 2003 12:33:32 +0000 Subject: fix volume increasing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10231 b3059339-0415-0410-9bf9-f77b7e298cf2 --- osdep/getch2-win.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'osdep/getch2-win.c') diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c index c378fbfd69..59fd751c99 100644 --- a/osdep/getch2-win.c +++ b/osdep/getch2-win.c @@ -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*/ -- cgit v1.2.3