Fixed closing the file handle when pre_display_exec=true
This commit is contained in:
parent
81e1877ac6
commit
0ca83d416b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user