(svn r1242) -Fix: fix some morhpos warnings (tokai)
authordarkvater
Thu, 23 Dec 2004 11:31:06 +0000
changeset 776 d2e1f9c15bd3
parent 775 af45df06f6fb
child 777 3d7798da0f10
(svn r1242) -Fix: fix some morhpos warnings (tokai)
settings_gui.c
--- 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