settings_gui.c
changeset 776 d2e1f9c15bd3
parent 759 6d087784a08a
child 788 f7c5d8966d59
--- a/settings_gui.c	Thu Dec 23 00:33:44 2004 +0000
+++ b/settings_gui.c	Thu Dec 23 11:31:06 2004 +0000
@@ -1338,9 +1338,9 @@
 	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