1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-19 18:32:35 +01:00

(svn r24421) [1.2] -Backport from trunk:

- Fix: EQUALSIZE widget containers within EQUALSIZE containers were initialised with wrong sizes (r24346)
- Fix: The cursor in the company password window was not blinking due to wrong magic constants (r24335)
- Fix: [NewGRF] Change the length of 8/8 roadvehicles in vehicle lists to 32 pixels; this is in fact the correct length as can be seen in corners for short articulated parts following each other [FS#2553] (r24332)
- Fix: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides [FS#4254] (r24330, r24321)
This commit is contained in:
rubidium
2012-07-20 19:34:24 +00:00
parent 1971a5a2fe
commit fc11459405
6 changed files with 95 additions and 59 deletions

View File

@@ -2181,7 +2181,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
virtual void OnMouseLoop()
{
this->HandleEditBox(4);
this->HandleEditBox(WID_NCP_PASSWORD);
}
virtual EventState OnKeyPress(uint16 key, uint16 keycode)