(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:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user