[Mplayer-cvslog] CVS: main/osdep getch2-win.c,1.3,1.4
Sascha Sommer CVS
faust3 at mplayerhq.hu
Sun Jun 1 14:34:02 CEST 2003
Update of /cvsroot/mplayer/main/osdep
In directory mail:/var/tmp.root/cvs-serv20747/osdep
Modified Files:
getch2-win.c
Log Message:
fix volume increasing
Index: getch2-win.c
===================================================================
RCS file: /cvsroot/mplayer/main/osdep/getch2-win.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- getch2-win.c 25 Apr 2003 10:00:18 -0000 1.3
+++ getch2-win.c 1 Jun 2003 12:33:32 -0000 1.4
@@ -74,9 +74,11 @@
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*/
More information about the MPlayer-cvslog
mailing list