diff --git a/src/draw.c b/src/draw.c index c2befa472..fadc37276 100644 --- a/src/draw.c +++ b/src/draw.c @@ -528,8 +528,13 @@ view_column_draw(struct view *view, struct line *line, unsigned int lineno) continue; case VIEW_COLUMN_FILE_NAME: - if (draw_filename(view, column, line->type, column_data.file_name)) + { + enum line_type type = line->type; + if (view->ops->flags & VIEW_STATUS_LIKE) + type = S_ISDIR(mode) ? LINE_DIRECTORY : LINE_FILE; + if (draw_filename(view, column, type, column_data.file_name)) return true; + } continue; case VIEW_COLUMN_SECTION: