summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-04-10 11:59:18 +0000
committerpeter1138 <peter1138@openttd.org>2008-04-10 11:59:18 +0000
commit3badd389149c4b2fda55d115453067831f9b75a8 (patch)
tree22d8673a5ad50d7dfc22fdfba4faecd9454c091b /src
parent2964ba2d3498abf707f4ff6a135c6e6178d8b92f (diff)
downloadopenttd-3badd389149c4b2fda55d115453067831f9b75a8.tar.xz
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
Diffstat (limited to 'src')
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index 70eb81b64..61179365b 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -258,7 +258,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u
_dropdown_menu_widgets);
dw->widget[0].color = wi->color;
- dw->widget[0].right = width + 1;
+ dw->widget[0].right = width - 1;
dw->widget[0].bottom = height - 1;
dw->SetWidgetHiddenState(1, !scroll);