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 | e550bccf15bb423f135e4a3c07aae9f29a53207a (patch) | |
tree | 34b54ccc365c7e78b67c42eb083c2b239062455d /gui.h | |
parent | c12a9e19c33f7a98a0f290d7cff9f02556b10fed (diff) | |
download | openttd-e550bccf15bb423f135e4a3c07aae9f29a53207a.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); |