mirror of https://github.com/OpenTTD/OpenTTD
(svn r1242) -Fix: fix some morhpos warnings (tokai)
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