diff options
author | peter1138 <peter1138@openttd.org> | 2006-10-05 12:18:07 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-10-05 12:18:07 +0000 |
commit | 1671d343c30ce3e8775b41c907aa7e3b3baea2fe (patch) | |
tree | 670915c6e26a4e85873b9ac4c503fb5298a3d492 | |
parent | e713754f63a3cfa1a34588e2774a5d19626c235d (diff) | |
download | openttd-1671d343c30ce3e8775b41c907aa7e3b3baea2fe.tar.xz |
(svn r6650) - Fix (r6619): Fix widget state setting of the rail toolbar when using hotkeys.
-rw-r--r-- | rail_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_gui.c b/rail_gui.c index 5eba3abbd..e7785792a 100644 --- a/rail_gui.c +++ b/rail_gui.c @@ -446,7 +446,7 @@ static void BuildRailToolbWndProc(Window *w, WindowEvent *e) e->we.keypress.cont = false; _remove_button_clicked = false; _build_railroad_button_proc[i](w); - UpdateRemoveWidgetStatus(w, i); + UpdateRemoveWidgetStatus(w, i + 4); break; } } |