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,8 +491,12 @@ static GtkWidget* create_label(char* mode, char* text, char* search_text, char*
}
}
if(pre_display_exec) {
fclose(fp_labeltext);
} else {
pclose(fp_labeltext);
}
}
if(allow_images) {
parse_images(WOFI_PROPERTY_BOX(box), text, true);