diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-21 22:50:57 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-21 22:50:57 +0000 |
commit | fcd2af4643b4a68e175243f31cc88cea26f2bf4e (patch) | |
tree | 34b54ccc365c7e78b67c42eb083c2b239062455d /gui.h | |
parent | f71ca30040cd2046b0734703c86eec981603833b (diff) | |
download | openttd-fcd2af4643b4a68e175243f31cc88cea26f2bf4e.tar.xz |
(svn r6879) -Codechange: Remove the superflouos argument CharsetFilter parameter from HandleEditBoxKey
as the same information is present in querystr_d->afilter
-Also (&((querystr_d *)&WP(w, querystr_d))->text is the same as &WP(w, querystr_d).text
Diffstat (limited to 'gui.h')
-rw-r--r-- | gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ void ShowCheatWindow(void); void DrawEditBox(Window *w, querystr_d *string, int wid); void HandleEditBox(Window *w, querystr_d *string, int wid); -int HandleEditBoxKey(Window *w, querystr_d *string, int wid, WindowEvent *we, CharSetFilter afilter); +int HandleEditBoxKey(Window *w, querystr_d *string, int wid, WindowEvent *we); bool HandleCaret(Textbuf *tb); void DeleteTextBufferAll(Textbuf *tb); |