opening files using mimetypes defined in config.h
This commit is contained in:
@ -21,6 +21,7 @@ file *rgt_content;
|
||||
file *mid_content;
|
||||
file *lft_content;
|
||||
char *rgt_buffer; /* used for file previews, unlike rgt_content, which is used for directory previews */
|
||||
char *btm_buffer;
|
||||
|
||||
file file_current;
|
||||
|
||||
@ -184,6 +185,7 @@ void threading_init(){
|
||||
|
||||
top_content = malloc(sizeof(char));
|
||||
rgt_buffer = malloc(sizeof(char));
|
||||
btm_buffer = malloc(sizeof(char));
|
||||
|
||||
file_current.file_type = 0;
|
||||
file_current.file_size_bytes = 1;
|
||||
|
Reference in New Issue
Block a user