summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-12 12:54:51 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-12 12:54:51 +0000
commit9f6fd72c0981e2648eb23301d2a4aed23d38d63f (patch)
treeafbba094a1cde7ec49b849c6e52f0ad3f6caa522
parent592e22cc3a234396b8f238e1654c5cc21964e983 (diff)
downloadopenttd-9f6fd72c0981e2648eb23301d2a4aed23d38d63f.tar.xz
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
-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 b55bcd644..225140e9e 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -49,7 +49,7 @@ struct dropdown_d {
WindowNumber parent_wnd_num;
byte parent_button;
DropDownList *list;
- byte selected_index;
+ int selected_index;
byte click_delay;
bool drag_mode;
int scrolling;