Fixed startup repos loading bug

pull/41/head
parent b0c5b13725
commit 8760346e8f

@ -763,8 +763,8 @@ void yon_config_load_update(main_window *widgets){
for (int k=0;k<size;k++){ for (int k=0;k<size;k++){
if (strcmp(dirs[k],"pool")&&strcmp(dirs[k],nm)){ if (strcmp(dirs[k],"pool")&&strcmp(dirs[k],nm)){
char *arch_path = yon_char_unite(name_parsed[j],"/",dirs[k],NULL); char *arch_path = yon_char_unite(name_parsed[j],"/",dirs[k],NULL);
gtk_tree_store_append(widgets->RepoList,&iter,&itar); gtk_tree_store_append(widgets->RepoList,&childiter,&itar);
gtk_tree_store_set(widgets->RepoList,&iter,2,dirs[k],3,arch_path,-1); gtk_tree_store_set(widgets->RepoList,&childiter,2,dirs[k],3,arch_path,-1);
} }
} }
free(nm); free(nm);

Loading…
Cancel
Save