File diff r21873:7a8281f544f1 → r21874:8f8d62638daa
src/settings_gui.cpp
Show inline comments
 
@@ -287,13 +287,13 @@ struct GameOptionsWindow : Window {
 
				break;
 

	
 
			case WID_GO_GUI_ZOOM_DROPDOWN: {
 
				list = new DropDownList();
 
				*selected_index = ZOOM_LVL_OUT_4X - _gui_zoom;
 
				const StringID *items = _gui_zoom_dropdown;
 
				for (uint i = 0; *items != INVALID_STRING_ID; items++, i++) {
 
				for (int i = 0; *items != INVALID_STRING_ID; items++, i++) {
 
					*list->Append() = new DropDownListStringItem(*items, i, _settings_client.gui.zoom_min > ZOOM_LVL_OUT_4X - i);
 
				}
 
				break;
 
			}
 

	
 
			case WID_GO_BASE_GRF_DROPDOWN: