From 08b3a72cbbaccc03fe1ea0da9f8f5ea803dc3c46 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 29 Feb 2024 10:54:10 +0600 Subject: [PATCH] Added debug outputs --- source/libublsettings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libublsettings.c b/source/libublsettings.c index b430b9b..68ff6ba 100644 --- a/source/libublsettings.c +++ b/source/libublsettings.c @@ -1372,6 +1372,7 @@ int yon_config_save_registered(char *path){ for_dictionaries(dct,sections_add){ char *command = yon_dictionary_get_data(dct,char*); yon_launch(command); + if (debug_output) printf("%s\n",command); } yon_dictionary_free_all(sections_add,free); @@ -1379,6 +1380,7 @@ int yon_config_save_registered(char *path){ for_dictionaries(dct,sections_remove){ char *command = yon_dictionary_get_data(dct,char*); yon_launch(command); + if (debug_output) printf("%s\n",command); } yon_dictionary_free_all(sections_remove,free);