Changeset - r20441:7ab5ef4090c7
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-06-24 20:57:50
frosch@openttd.org
(svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle_gui.cpp
Show inline comments
 
@@ -520,13 +520,13 @@ struct RefitWindow : public Window {
 

	
 
				row++;
 
			}
 
		}
 

	
 
		this->vscroll->SetCount(row);
 
		this->vscroll->ScrollTowards(scroll_row);
 
		if (scroll_row < row) this->vscroll->ScrollTowards(scroll_row);
 
	}
 

	
 
	/**
 
	 * Select a row.
 
	 * @param click_row Clicked row
 
	 */
0 comments (0 inline, 0 general)