Mercurial > mplayer.hg
comparison osdep/getch2-win.c @ 26759:8eff880f638c
cosmetics: Remove useless parentheses from return statements.
author | diego |
---|---|
date | Fri, 16 May 2008 09:42:28 +0000 |
parents | f222f84f2072 |
children | e7c989f7a7c9 |
comparison
equal
deleted
inserted
replaced
26758:9fb1d2c3dbd4 | 26759:8eff880f638c |
---|---|
97 case VK_SHIFT: | 97 case VK_SHIFT: |
98 continue; | 98 continue; |
99 } | 99 } |
100 /*check for function keys*/ | 100 /*check for function keys*/ |
101 if(0x87 >= eventbuffer[i].Event.KeyEvent.wVirtualKeyCode && eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70) | 101 if(0x87 >= eventbuffer[i].Event.KeyEvent.wVirtualKeyCode && eventbuffer[i].Event.KeyEvent.wVirtualKeyCode >= 0x70) |
102 return (KEY_F + 1 + eventbuffer[i].Event.KeyEvent.wVirtualKeyCode - 0x70); | 102 return KEY_F + 1 + eventbuffer[i].Event.KeyEvent.wVirtualKeyCode - 0x70; |
103 | 103 |
104 /*only characters should be remaining*/ | 104 /*only characters should be remaining*/ |
105 //printf("getch2: YOU PRESSED \"%c\" \n",eventbuffer[i].Event.KeyEvent.uChar.AsciiChar); | 105 //printf("getch2: YOU PRESSED \"%c\" \n",eventbuffer[i].Event.KeyEvent.uChar.AsciiChar); |
106 return eventbuffer[i].Event.KeyEvent.uChar.AsciiChar; | 106 return eventbuffer[i].Event.KeyEvent.uChar.AsciiChar; |
107 } | 107 } |