Update main.cpp
This commit is contained in:
parent
992e37fc65
commit
32ae97d764
2
main.cpp
2
main.cpp
@ -303,7 +303,9 @@ int main(int argc, char *argv[])
|
||||
// delete[] temp;
|
||||
std::string name = basename(full_name);
|
||||
if(!is_file) name += "/";
|
||||
#ifndef NO_MIME
|
||||
std::string mime_type = get_mime(full_name);
|
||||
#endif
|
||||
FileType file;
|
||||
#ifdef NO_MIME
|
||||
file = (is_file) ? FileType::File : FileType::Folder;
|
||||
|
Loading…
Reference in New Issue
Block a user