Changeset - r8543:3c9b1743a76e
[Not reviewed]
master
0 1 0
peter1138 - 16 years ago 2008-02-12 12:54:51
peter1138@openttd.org
(svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/widgets/dropdown.cpp
Show inline comments
 
@@ -46,13 +46,13 @@ static void DeleteDropDownList(DropDownL
 

	
 
struct dropdown_d {
 
	WindowClass parent_wnd_class;
 
	WindowNumber parent_wnd_num;
 
	byte parent_button;
 
	DropDownList *list;
 
	byte selected_index;
 
	int selected_index;
 
	byte click_delay;
 
	bool drag_mode;
 
	int scrolling;
 
};
 
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(dropdown_d));
 

	
0 comments (0 inline, 0 general)