|
|
|
|
@ -1311,14 +1311,14 @@ int yon_config_save_registered(char *path){
|
|
|
|
|
for_dictionaries(dct,sections_add){
|
|
|
|
|
char *command = yon_dictionary_get_data(dct,char*);
|
|
|
|
|
yon_launch(command);
|
|
|
|
|
yon_dictionary_free_all(sections_add,free);
|
|
|
|
|
}
|
|
|
|
|
yon_dictionary_free_all(sections_add,free);
|
|
|
|
|
if (sections_remove)
|
|
|
|
|
for_dictionaries(dct,sections_remove){
|
|
|
|
|
char *command = yon_dictionary_get_data(dct,char*);
|
|
|
|
|
yon_launch(command);
|
|
|
|
|
yon_dictionary_free_all(sections_remove,free);
|
|
|
|
|
}
|
|
|
|
|
yon_dictionary_free_all(sections_remove,free);
|
|
|
|
|
if (sections_add||sections_remove)
|
|
|
|
|
return 1;
|
|
|
|
|
else return 0;
|
|
|
|
|
|