diff options
author | belugas <belugas@openttd.org> | 2007-12-08 03:10:50 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-08 03:10:50 +0000 |
commit | f27103846110329bdd74c3229596ff3e229be1b0 (patch) | |
tree | 4035aa66fcd85e5b6485927f6941345900ada009 /src/depot_gui.cpp | |
parent | 902b20263ce0b5d5ee9f1e2c54707b012586bbd3 (diff) | |
download | openttd-f27103846110329bdd74c3229596ff3e229be1b0.tar.xz |
(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index 17d8b06d1..3e9cf359d 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -916,7 +916,7 @@ static void DepotWndProc(Window *w, WindowEvent *e) if (w->IsWidgetDisabled(e->we.click.widget)) return; if (WP(w, depot_d).sel == INVALID_VEHICLE) return; - HandleButtonClick(w, e->we.click.widget); + w->HandleButtonClick(e->we.click.widget); v = GetVehicle(WP(w, depot_d).sel); WP(w, depot_d).sel = INVALID_VEHICLE; |