file-browser: Use object icon for kernel modules

This commit is contained in:
K. Lange 2021-09-27 11:04:03 +09:00
parent 1ccdefe243
commit d051aa45ee

View File

@ -704,7 +704,7 @@ static void load_directory(const char * path, int modifies_history) {
sprintf(f->filetype, "Python Script");
}
} else if (has_extension(f, ".ko")) {
sprintf(f->icon, "file");
sprintf(f->icon, "so");
sprintf(f->filetype, "Kernel Module");
} else if (has_extension(f, ".o")) {
sprintf(f->icon, "so");