|
|
|
|
@ -142,7 +142,7 @@ config_str yon_loaded_config_convert_to_save_command(struct loaded_config *targe
|
|
|
|
|
if (sections&&(cur_section=yon_dictionary_get(§ions,current->section))){
|
|
|
|
|
char *temp = yon_char_unite((char*)cur_section->data," ", current->key,"=\'",(char*)current->data,"\'",NULL);
|
|
|
|
|
free(current->data);
|
|
|
|
|
current->data = temp;
|
|
|
|
|
cur_section->data = temp;
|
|
|
|
|
} else {
|
|
|
|
|
char *parameters = yon_char_unite(current->key,"=\'",(char*)current->data,"\'",NULL);
|
|
|
|
|
yon_dictionary_add_or_create_if_exists_with_data(sections,current->section,parameters);
|
|
|
|
|
|