summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-03 13:07:29 +0000
committertron <tron@openttd.org>2005-08-03 13:07:29 +0000
commitc2178ab832e1a5e35f6e6792967dfaa35c090638 (patch)
treec49b36a2b66e435ce4b8d0018d6adeeb25406336 /train_gui.c
parent940872e51f8c2e40fdf646415b0dc5a5902d6114 (diff)
downloadopenttd-c2178ab832e1a5e35f6e6792967dfaa35c090638.tar.xz
(svn r2799) Make the only two non-const widget lists const
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index 971d1d467..bc2984805 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -879,7 +879,7 @@ static void ShowRailVehicleRefitWindow(Vehicle *v)
WP(w,refit_d).sel = -1;
}
-static Widget _train_view_widgets[] = {
+static const Widget _train_view_widgets[] = {
{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW },
{ WWT_CAPTION, RESIZE_RIGHT, 14, 11, 237, 0, 13, STR_882E, STR_018C_WINDOW_TITLE_DRAG_THIS },
{ WWT_STICKYBOX, RESIZE_LR, 14, 238, 249, 0, 13, 0x0, STR_STICKY_BUTTON },