project_files/frontlib/model/team.c
changeset 7470 0db1780ca938
parent 7320 e704706008d4
child 7497 7e1d72fc03c7
--- a/project_files/frontlib/model/team.c	Mon Aug 06 22:32:05 2012 +0200
+++ b/project_files/frontlib/model/team.c	Mon Aug 06 22:32:46 2012 +0200
@@ -196,6 +196,9 @@
 }
 
 static int writeBindingSection(const flib_team *team, flib_ini *ini) {
+	if(team->bindingCount == 0) {
+		return 0;
+	}
 	if(flib_ini_create_section(ini, "binds")) {
 		return -1;
 	}