project_files/frontlib/model/schemelist.c
changeset 7271 5608ac657362
parent 7269 5b0aeef8ba2a
child 7275 15f722e0b96f
--- a/project_files/frontlib/model/schemelist.c	Thu Jun 21 21:32:12 2012 +0200
+++ b/project_files/frontlib/model/schemelist.c	Mon Jun 25 00:42:07 2012 +0200
@@ -125,7 +125,7 @@
 	bool error = false;
 
 	char *key = makePrefixedName(index+1, "name");
-	error |= !key || flib_ini_set_str(ini, key, scheme->schemeName);
+	error |= !key || flib_ini_set_str(ini, key, scheme->name);
 	free(key);
 
 	for(int i=0; i<meta->modCount && !error; i++) {
@@ -184,7 +184,7 @@
 flib_cfg *flib_schemelist_find(flib_schemelist *list, const char *name) {
 	if(list && name) {
 		for(int i=0; i<list->schemeCount; i++) {
-			if(!strcmp(name, list->schemes[i]->schemeName)) {
+			if(!strcmp(name, list->schemes[i]->name)) {
 				return list->schemes[i];
 			}
 		}