diff --git a/source/libublsettings.c b/source/libublsettings.c index 9bb1b9e..b430b9b 100644 --- a/source/libublsettings.c +++ b/source/libublsettings.c @@ -1372,12 +1372,14 @@ int yon_config_save_registered(char *path){ for_dictionaries(dct,sections_add){ char *command = yon_dictionary_get_data(dct,char*); yon_launch(command); + printf("%s\n",command); } 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); + printf("%s\n",command); } yon_dictionary_free_all(sections_remove,free); if (sections_add||sections_remove) diff --git a/source/libublsettings.h b/source/libublsettings.h index ee8822d..3549096 100644 --- a/source/libublsettings.h +++ b/source/libublsettings.h @@ -607,6 +607,8 @@ typedef enum { YON_CONFIG_DEFAULT } YON_CONFIG_TYPE; +static int debug_output = 0; + /**yon_config_load(char *command, int *str_len) * [EN] *