summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-01 12:33:32 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-06-01 12:33:32 +0000
commitf69de943f3a63aec8e8e573fb80a5cdbc149ba28 (patch)
treee6619bbe241d412e4c5d4b86e7a5540b34e61b93 /osdep
parent7beb6ae6f800280820d2b390151c6c496ee5c1b8 (diff)
downloadmpv-f69de943f3a63aec8e8e573fb80a5cdbc149ba28.tar.bz2
mpv-f69de943f3a63aec8e8e573fb80a5cdbc149ba28.tar.xz
fix volume increasing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10231 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/getch2-win.c4
1 files changed, 3 insertions, 1 deletions
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*/