Fixed closing the file handle when pre_display_exec=true

This commit is contained in:
Scoopta 2024-01-20 22:11:27 -08:00
parent 81e1877ac6
commit 0ca83d416b

View File

@ -491,7 +491,11 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
} }
} }
pclose(fp_labeltext); if(pre_display_exec) {
fclose(fp_labeltext);
} else {
pclose(fp_labeltext);
}
} }
if(allow_images) { if(allow_images) {