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 /subsidy_gui.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 'subsidy_gui.c')
-rw-r--r-- | subsidy_gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/subsidy_gui.c b/subsidy_gui.c index daba50675..c71b1b2a2 100644 --- a/subsidy_gui.c +++ b/subsidy_gui.c @@ -144,8 +144,10 @@ static void SubsidiesListWndProc(Window *w, WindowEvent *e) case WE_PAINT: DrawSubsidiesWindow(w); break; case WE_CLICK: - switch (e->click.widget) { - case 3: HandleSubsidyClick(e->click.pt.y - 25); break; + switch (e->we.click.widget) { + case 3: + HandleSubsidyClick(e->we.click.pt.y - 25); + break; } break; } |