Fixed crash

pull/129/head
Ivan Yartsev 6 months ago
parent 1b14422973
commit afad887aba

@ -2241,6 +2241,9 @@ void on_log_path_filechooser_save(GtkWidget *, dictionary *dict){
GFile *file = gtk_file_chooser_get_file(GTK_FILE_CHOOSER(dialog->FileChooser));
if (!file){
filename = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(dialog->FileChooser));
if (yon_char_is_empty(filename)){
return;
}
if (filename[strlen(filename)-1]=='/')
filename = yon_char_append(filename,"*");
else

Loading…
Cancel
Save