fix of failed compile on disabling ueberzug
This commit is contained in:
+5
-5
@@ -108,14 +108,14 @@ void ueberzug_init(){
|
|||||||
ueberzug = popen("ueberzug layer -s --no-cache ", "w");
|
ueberzug = popen("ueberzug layer -s --no-cache ", "w");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
void ueberzug_close(){
|
||||||
|
images_clear();
|
||||||
|
pclose(ueberzug);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
void file_preview_init(){
|
void file_preview_init(){
|
||||||
cookie_type = magic_open(MAGIC_MIME_TYPE);
|
cookie_type = magic_open(MAGIC_MIME_TYPE);
|
||||||
cookie_description = magic_open(MAGIC_NONE);
|
cookie_description = magic_open(MAGIC_NONE);
|
||||||
magic_load(cookie_type, NULL);
|
magic_load(cookie_type, NULL);
|
||||||
magic_load(cookie_description, NULL);
|
magic_load(cookie_description, NULL);
|
||||||
}
|
}
|
||||||
void ueberzug_close(){
|
|
||||||
images_clear();
|
|
||||||
pclose(ueberzug);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user