summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rail_gui.c2
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;
}
}