changeset 8884:a91183e5f458 draft

(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
author peter1138 <peter1138@openttd.org>
date Thu, 10 Apr 2008 11:59:18 +0000
parents 23eea6824c4b
children 2d7e1a978a1a
files src/widgets/dropdown.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -258,7 +258,7 @@
 		_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);