Fix issue with num lock and caps lock preventing planet scan and

lander message skipping, from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@916 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-20 20:28:17 +00:00
parent 3caf601086
commit a11868102b
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,4 +1,6 @@
Changes towards version 0.3: Changes towards version 0.3:
- Fix issue with caps lock and num lock preventing planet scan
and lander message skipping (bug #299), from chmmravatar
- Subtitles are now hidden after alien has finished talking (bug #312), - Subtitles are now hidden after alien has finished talking (bug #312),
from chmmravatar from chmmravatar
- Fix for mycon portrait (bug #183), from Nic - Fix for mycon portrait (bug #183), from Nic
+4
View File
@@ -114,6 +114,10 @@ ProcessKeyboardEvent(const SDL_Event *Event)
UNICODE map_key; UNICODE map_key;
if (!InputInitialized) if (!InputInitialized)
return; return;
if (!Event->key.keysym.unicode &&
(k == SDLK_CAPSLOCK ||
k == SDLK_NUMLOCK))
return;
if (Event->type == SDL_KEYDOWN) if (Event->type == SDL_KEYDOWN)
{ {