From c9c3e1d966af895377b3cf479f743d037a17624c Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Sat, 14 Aug 2004 12:16:45 +0000 Subject: [project @ 2004-08-14 12:16:44 by joty] Keypresses are wchar_t typed data. svn path=/import/netsurf/; revision=1227 --- riscos/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index 9d0670217..0d942d478 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1248,7 +1248,7 @@ bool ro_gui_window_keypress(struct gui_window *g, int key, bool toolbar) /* First send the key to the browser window, eg. form fields. */ if (!toolbar) { - int c = key; + wchar_t c = (wchar_t)key; /* Munge cursor keys into unused control chars */ /* We can't map on to any of: 3,8,10,13,17,18,21,22,23 or 24 * That leaves 1,2,4-7,11,12,14-16,18-20,25-31 and 129-159 -- cgit v1.2.3