Fixed dividing of monitoring logs

pull/62/head
parent 366aae7da3
commit 927c62dc6e

@ -146,6 +146,7 @@ void yon_logs_custom_save(main_window *widgets){
if (standard!=1){
for (int i=0;i<standard_paths;i++)
free(yon_char_divide_search(paths,",",-1));
paths = yon_char_replace(paths,"\n",",");
final_strings = yon_char_unite(final_strings?yon_char_append(final_strings,"\n"):"",name?name:"",";",paths?paths:"",";",description?description:"",NULL);
}
}
@ -2379,6 +2380,7 @@ main_window *setup_window(){
}
if (!found)
gtk_list_store_append(widgets->list,&iter);
cur_watcher[1] = yon_char_replace(cur_watcher[1],",","\n");
gtk_list_store_set(widgets->list,&iter,0,cur_watcher[0],1,cur_watcher[1],2,cur_watcher[2]?cur_watcher[2]:"",-1);
yon_char_parsed_free(cur_watcher,cur_size);
}

Loading…
Cancel
Save