diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-16 09:37:22 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-05-16 09:37:22 +0000 |
commit | b15a6af3d29ad844bdd44eb6181d069958afab5b (patch) | |
tree | 7c59b84724c59a3f8df76902841f19c36837f5d6 /riscos/url_complete.c | |
parent | baca6796eb96fac3cf79400f9cdb588b49f78930 (diff) | |
download | netsurf-b15a6af3d29ad844bdd44eb6181d069958afab5b.tar.gz netsurf-b15a6af3d29ad844bdd44eb6181d069958afab5b.tar.bz2 |
s/wchar_t/uint32_t/g
We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable.
svn path=/trunk/netsurf/; revision=4165
Diffstat (limited to 'riscos/url_complete.c')
-rw-r--r-- | riscos/url_complete.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscos/url_complete.c b/riscos/url_complete.c index 9085ba85c..144ceba3c 100644 --- a/riscos/url_complete.c +++ b/riscos/url_complete.c @@ -25,7 +25,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <wchar.h> #include "oslib/wimp.h" #include "content/urldb.h" #include "utils/log.h" @@ -92,7 +91,7 @@ void ro_gui_url_complete_start(struct gui_window *g) * \param key the key pressed (as UTF32 code or wimp key + bit31 set) * \return true to indicate keypress handled, false otherwise */ -bool ro_gui_url_complete_keypress(struct gui_window *g, wchar_t key) +bool ro_gui_url_complete_keypress(struct gui_window *g, uint32_t key) { wimp_window_state state; char *match_url; |