From 2e2ba46eb1a240ff3cf70852da6a935374b37dba Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 4 Mar 2024 10:32:05 +0600 Subject: [PATCH] Command fix --- source/libublsettingsui-gtk3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libublsettingsui-gtk3.c b/source/libublsettingsui-gtk3.c index d1c94a3..e939bff 100644 --- a/source/libublsettingsui-gtk3.c +++ b/source/libublsettingsui-gtk3.c @@ -321,7 +321,7 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){ loaded.dict = yon_dictionary_new(); dictionary *dct; for_dictionaries(dct,section_commands){ - char *command = yon_char_unite(ubconfig_load_command_old," ", config_to_save," get ", dct->key," ", yon_dictionary_get_data(dct,char*),NULL); + char *command = yon_char_unite(ubconfig_load_command," ", config_to_save," get ", dct->key," ", yon_dictionary_get_data(dct,char*),NULL); FILE *output = popen(command, "r"); char **output_strings = NULL; output_strings = malloc(sizeof(char*));