start of a major rewrite
This commit is contained in:
@@ -40,7 +40,6 @@ char* preview_file(file *f){
|
||||
|
||||
char *file_buffer;
|
||||
|
||||
|
||||
char *mime = get_mimetype(f);
|
||||
|
||||
#if SETTINGS_UEBERZUG_IMAGE_PREVIEW != 0
|
||||
@@ -81,7 +80,7 @@ char* text(file *f){
|
||||
}
|
||||
}
|
||||
char* generic(file *f){
|
||||
static const char *cmd_str = "file ";
|
||||
static const char *cmd_str = "file";
|
||||
char *cmd = parse_cmd(cmd_str, f);
|
||||
|
||||
FILE *cmd_open = popen(cmd, "r");
|
||||
|
||||
Reference in New Issue
Block a user