diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index d76673a..9bfe3e0 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -453,7 +453,7 @@ gboolean yon_software_insert(struct row_data *row_input){ char *modules_prm = config(modules_parameter); char *modules_param = NULL; if (modules_prm&&!strcmp(modules_prm,"auto")){ - int final_size; + int final_size = 0; config_str final = NULL; for (int i=0;iname,",")){ gtk_widget_set_sensitive(row->InstallCheck,0); @@ -583,6 +595,18 @@ void yon_pacman_init(main_window *widgets){ yon_char_parsed_free(parsed,parsed_size); } modules_packages = yon_char_parsed_to_string(final,final_size,","); + } else if (!yon_char_is_empty(modules_packages)){ + int final_size = 0; + config_str final = NULL; + for (int i=0;i