|
|
|
|
@ -1174,10 +1174,8 @@ int yon_config_set(char *key, void *data){
|
|
|
|
|
yon_config_parameter *dict = (yon_config_parameter*)yon_dictionary_get((dictionary**)&__yon__config__strings,key);
|
|
|
|
|
dict->data=data;
|
|
|
|
|
dict->flag1=1;
|
|
|
|
|
printf("%s has been changed\n",dict->key);
|
|
|
|
|
if (yon_dictionary_get(&__yon_config_ignored, dict->key)){
|
|
|
|
|
__yon_config_ignored = yon_dictionary_rip(__yon_config_ignored);
|
|
|
|
|
printf("%s removed from ignored\n",dict->key);
|
|
|
|
|
}
|
|
|
|
|
return 1;
|
|
|
|
|
} else return 0;
|
|
|
|
|
@ -1213,7 +1211,6 @@ void yon_config_register(char *key, char *config_section, void *data){
|
|
|
|
|
__yon__config__strings->flag1=1;
|
|
|
|
|
if (yon_dictionary_get(&__yon_config_ignored, __yon__config__strings->key)){
|
|
|
|
|
__yon_config_ignored = yon_dictionary_rip(__yon_config_ignored);
|
|
|
|
|
printf("%s removed from ignored\n",__yon__config__strings->key);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|