mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high
This commit is contained in:
parent
0aad93d1ce
commit
8ec3e58b48
@ -796,7 +796,7 @@ void ShowCargoPaymentRates()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Resize the window to fit the cargo types */
|
/* Resize the window to fit the cargo types */
|
||||||
ResizeWindow(w, 0, num_active * 8);
|
ResizeWindow(w, 0, max(num_active, 12U) * 8);
|
||||||
|
|
||||||
/* Add widgets for each cargo type */
|
/* Add widgets for each cargo type */
|
||||||
w->widget_count += num_active;
|
w->widget_count += num_active;
|
||||||
|
Loading…
Reference in New Issue
Block a user