aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index baac6f5e7..6be697e7a 100644
--- a/src/config.c
+++ b/src/config.c
@@ -259,6 +259,14 @@ e_config_load(char *file, char *prefix, E_Config_Base_Type *type)
(*((Evas_List *)(&(data[node->offset])))) = l2;
}
break;
+ case E_CFG_TYPE_KEY:
+ {
+ char *val;
+
+ sprintf(buf, "%s/%s", prefix, node->prefix);
+ (*((char **)(&(data[node->offset])))) = strdup(buf);
+ }
+ break;
default:
break;
}