diff options
Diffstat (limited to 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c index 1f2c8c164..30d063a44 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -1338,9 +1338,9 @@ static void CustCurrencyWndProc(Window *w, WindowEvent *e) case WE_CLICK: { bool edittext = false; int line = (e->click.pt.y - 20)/12; - int len; + int len = 0; int x = e->click.pt.x; - StringID str; + StringID str = 0; switch ( line ) { case 0: // rate |