diff options
author | belugas <belugas@openttd.org> | 2006-09-23 02:39:24 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-09-23 02:39:24 +0000 |
commit | 1c56a5ae0fefac5636a7f93c3bed9285fca558d8 (patch) | |
tree | 94c5771fcfbd839db8eabe8b14662d04e44ab61c /widget.c | |
parent | 0f78b620fbb4e4ca744ceffffc43a9c0846bca12 (diff) | |
download | openttd-1c56a5ae0fefac5636a7f93c3bed9285fca558d8.tar.xz |
(svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Diffstat (limited to 'widget.c')
-rw-r--r-- | widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -562,8 +562,8 @@ static void DropdownMenuWndProc(Window *w, WindowEvent *e) if (WP(w,dropdown_d).click_delay != 0 && --WP(w,dropdown_d).click_delay == 0) { WindowEvent e; e.event = WE_DROPDOWN_SELECT; - e.dropdown.button = WP(w,dropdown_d).parent_button; - e.dropdown.index = WP(w,dropdown_d).selected_index; + e.we.dropdown.button = WP(w,dropdown_d).parent_button; + e.we.dropdown.index = WP(w,dropdown_d).selected_index; w2->wndproc(w2, &e); DeleteWindow(w); return; |