|
|
|
|
@ -602,12 +602,12 @@ int yon_config_remove_by_key(char *key){
|
|
|
|
|
check_config{
|
|
|
|
|
dictionary *dict = yon_dictionary_get((dictionary**)&__yon__config__strings,key);
|
|
|
|
|
if (dict){
|
|
|
|
|
// if (!yon_dictionary_get(&__yon_config_ignored,dict->key)){
|
|
|
|
|
if (!yon_char_is_empty(dict->data)){
|
|
|
|
|
yon_config_remove_ignore(dict->key);
|
|
|
|
|
((yon_config_parameter*)dict)->flag1=-1;
|
|
|
|
|
dict->data="";
|
|
|
|
|
return 1;
|
|
|
|
|
// } else return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
|