changeset 10230:3d33d5a19c21

fix volume increasing
author faust3
date Sun, 01 Jun 2003 12:33:32 +0000
parents bfb39cff0b18
children 4a9d046c94f2
files osdep/getch2-win.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/getch2-win.c	Sun Jun 01 11:03:55 2003 +0000
+++ b/osdep/getch2-win.c	Sun Jun 01 12:33:32 2003 +0000
@@ -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*/