From 721cf2fd1812a85232c68680745493e0b798645b Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 25 Dec 2024 10:20:10 +0600 Subject: [PATCH] Fixed wrong repostirory parameter name for removing from config --- source/ubl-settings-update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-update.c b/source/ubl-settings-update.c index 2495cc2..150e9e8 100644 --- a/source/ubl-settings-update.c +++ b/source/ubl-settings-update.c @@ -1127,7 +1127,7 @@ void on_repo_accept_clicked(GtkWidget *, dictionary *dict){ char *final = yon_char_unite(sources,";",sign_level,";",usage,";",enabled?"":"disable",NULL); if (!yon_char_is_empty(window->name)&&strcmp(repo_name,window->name)){ - yon_config_remove_by_key(REOSITORY_command(window->name)); + yon_config_remove_by_key(REPOSITORY(window->name)); } yon_config_register(REPOSITORY(repo_name),REOSITORY_command(repo_name),final); yon_interface_update(widgets);