Minor fixes

pull/21/head
parent a9d1d68749
commit 534177ac33

@ -253,7 +253,7 @@ struct loaded_config *yon_config_get_compared(char *command, int *final_size){
int size;
config_str config = yon_config_load(command,&size);
config_str temporary = NULL;
int temp_size;
int temp_size=0;
if (config&&size>0){
for (int i=0;i<size;i++){
if (!yon_char_is_empty(config[i])&&strcmp(config[i],"(null)\n")){
@ -302,7 +302,8 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
}
}
}
path = file;
path = yon_char_unite("'",file,"'",NULL);
free(file);
gtk_widget_destroy(dialog);
} else {
gtk_widget_destroy(dialog);

Loading…
Cancel
Save