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 | 98ba395277708f1e1fbddacee1f909fac366e96c (patch) | |
tree | 94c5771fcfbd839db8eabe8b14662d04e44ab61c /widget.c | |
parent | e20c8be1722ab9d1aa23b3b8bfb8207628f8322e (diff) | |
download | openttd-98ba395277708f1e1fbddacee1f909fac366e96c.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; |