mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r15836) -Fix [FS#2762]: acceptance not shown in the station window (swapping top and bottom isn't a great idea)
This commit is contained in:
parent
84fb615344
commit
8cba245791
@ -864,7 +864,7 @@ struct StationViewWindow : public Window {
|
|||||||
assert(b < endof(string));
|
assert(b < endof(string));
|
||||||
|
|
||||||
SetDParamStr(0, string);
|
SetDParamStr(0, string);
|
||||||
DrawStringMultiLine(this->widget[SVW_ACCEPTLIST].left + 2, this->widget[SVW_ACCEPTLIST].right - 2, this->widget[SVW_ACCEPTLIST].bottom - 1, this->widget[SVW_ACCEPTLIST].top + 1, STR_JUST_RAW_STRING);
|
DrawStringMultiLine(this->widget[SVW_ACCEPTLIST].left + 2, this->widget[SVW_ACCEPTLIST].right - 2, this->widget[SVW_ACCEPTLIST].top + 1,this->widget[SVW_ACCEPTLIST].bottom - 1, STR_JUST_RAW_STRING);
|
||||||
} else { // extended window with list of cargo ratings
|
} else { // extended window with list of cargo ratings
|
||||||
y = this->widget[SVW_RATINGLIST].top + 1;
|
y = this->widget[SVW_RATINGLIST].top + 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user