diff src/news_gui.cpp @ 20693:2b19f1e6c882 draft

-Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
author Michael Lutz <michi@icosahedron.de>
date Sat, 23 Mar 2013 23:37:24 +0100 (2013-03-23)
parents 32521c1e0f03
children
line wrap: on
line diff
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -449,7 +449,7 @@
 		}
 	}
 
-	virtual EventState OnKeyPress(uint16 key, uint16 keycode)
+	virtual EventState OnKeyPress(WChar key, uint16 keycode)
 	{
 		if (keycode == WKC_SPACE) {
 			/* Don't continue. */