Fixed closing the file handle when pre_display_exec=true
This commit is contained in:
parent
81e1877ac6
commit
0ca83d416b
@ -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);
|
pclose(fp_labeltext);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(allow_images) {
|
if(allow_images) {
|
||||||
parse_images(WOFI_PROPERTY_BOX(box), text, true);
|
parse_images(WOFI_PROPERTY_BOX(box), text, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user