From 20c1e552c86968b302a8c97f1368565e643214bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D1=80?= Date: Sun, 4 Aug 2024 12:10:56 +0200 Subject: [PATCH] Fixed users parsing --- source/ubl-settings-usergroups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index ee8888f..b1539cb 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -8,6 +8,7 @@ int yon_load_proceed(YON_CONFIG_TYPE type){ yon_config_clean(); yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL); if (type==YON_CONFIG_GLOBAL){ + yon_debug_output("%s\n",yon_char_unite(config_get_command("global"),NULL)); yon_config_load_config(type,config_get_command("global"),NULL); } if (type==YON_CONFIG_LOCAL){ @@ -80,7 +81,7 @@ void yon_interface_update(main_window *widgets){ int size; GtkTreeIter iter; char *def_groups = yon_config_get_by_key(USERGROUPS_parameter); - config_str users = yon_config_get_all_by_key(USERADD_parameter,&size); + config_str users = yon_config_get_all_by_key(USERADD_SEARCH_macro,&size); if (users){ for (int i=0;iUsersList,&iter);