mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r1242) -Fix: fix some morhpos warnings (tokai)
This commit is contained in:
parent
3a98db672b
commit
79bbc37daa
@ -1338,9 +1338,9 @@ static void CustCurrencyWndProc(Window *w, WindowEvent *e)
|
|||||||
case WE_CLICK: {
|
case WE_CLICK: {
|
||||||
bool edittext = false;
|
bool edittext = false;
|
||||||
int line = (e->click.pt.y - 20)/12;
|
int line = (e->click.pt.y - 20)/12;
|
||||||
int len;
|
int len = 0;
|
||||||
int x = e->click.pt.x;
|
int x = e->click.pt.x;
|
||||||
StringID str;
|
StringID str = 0;
|
||||||
|
|
||||||
switch ( line ) {
|
switch ( line ) {
|
||||||
case 0: // rate
|
case 0: // rate
|
||||||
|
Loading…
Reference in New Issue
Block a user