1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

(svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle.

This commit is contained in:
frosch
2013-06-24 20:57:50 +00:00
parent be2b87c1cd
commit abb5a13f1e

View File

@@ -523,7 +523,7 @@ struct RefitWindow : public Window {
}
this->vscroll->SetCount(row);
this->vscroll->ScrollTowards(scroll_row);
if (scroll_row < row) this->vscroll->ScrollTowards(scroll_row);
}
/**