fixed "hang" on first run
authorunc0rr
Wed, 28 Dec 2005 23:34:22 +0000
changeset 34 fbe30de53d1d
parent 33 d6363050cad0
child 35 9367f246fb5f
fixed "hang" on first run
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Wed Dec 28 23:30:33 2005 +0000
+++ b/QTfrontend/hwform.cpp	Wed Dec 28 23:34:22 2005 +0000
@@ -109,8 +109,8 @@
 					tr("Error"),
 					tr("Cannot create directory %s").arg("/.hedgewars"),
 					tr("Quit"));
+			return ;
 		}
-		return ;
 	}
 	cfgdir.cd(".hedgewars");