forked from mirror/OpenTTD
(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
This commit is contained in:
@@ -63,7 +63,7 @@ struct EndGameHighScoreBaseWindow : Window {
|
||||
delete this;
|
||||
}
|
||||
|
||||
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
|
||||
virtual EventState OnKeyPress(WChar key, uint16 keycode)
|
||||
{
|
||||
/* All keys are 'handled' by this window but we want to make
|
||||
* sure that 'quit' still works correctly. Not handling the
|
||||
|
Reference in New Issue
Block a user