diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 12:16:45 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 12:16:45 +0000 |
commit | c9c3e1d966af895377b3cf479f743d037a17624c (patch) | |
tree | 01237aed2a65e11b8278967879618d8084382450 /riscos | |
parent | 39415dbfb8021cae532037636196259304d3534a (diff) | |
download | netsurf-c9c3e1d966af895377b3cf479f743d037a17624c.tar.gz netsurf-c9c3e1d966af895377b3cf479f743d037a17624c.tar.bz2 |
[project @ 2004-08-14 12:16:44 by joty]
Keypresses are wchar_t typed data.
svn path=/import/netsurf/; revision=1227
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |