summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-16 08:10:29 +0000
committertron <tron@openttd.org>2007-01-16 08:10:29 +0000
commit3005bc3f015745d36fd045f179292cfa8a35be0c (patch)
tree710d51b4219ff7cc0e524229569cd4b234acdfa1 /src/road_gui.cpp
parent895cc4fa47a706f85176f19985d0a4f32313d937 (diff)
downloadopenttd-3005bc3f015745d36fd045f179292cfa8a35be0c.tar.xz
(svn r8152) Fix a off-by-one error in the placement of the sticky box of the road build toolbar in the scenario editor
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 951526e3b..4f9fb134b 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -335,8 +335,8 @@ void ShowBuildRoadToolbar(void)
static const Widget _build_road_scen_widgets[] = {
{ WWT_CLOSEBOX, RESIZE_NONE, 7, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
-{ WWT_CAPTION, RESIZE_NONE, 7, 11, 140, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
-{ WWT_STICKYBOX, RESIZE_NONE, 7, 141, 152, 0, 13, 0x0, STR_STICKY_BUTTON},
+{ WWT_CAPTION, RESIZE_NONE, 7, 11, 139, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
+{ WWT_STICKYBOX, RESIZE_NONE, 7, 140, 151, 0, 13, 0x0, STR_STICKY_BUTTON},
{ WWT_IMGBTN, RESIZE_NONE, 7, 0, 21, 14, 35, SPR_IMG_ROAD_NW, STR_180B_BUILD_ROAD_SECTION},
{ WWT_IMGBTN, RESIZE_NONE, 7, 22, 43, 14, 35, SPR_IMG_ROAD_NE, STR_180B_BUILD_ROAD_SECTION},