From f1238debb1531193a14f37f2a747da17cd215e73 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Fri, 25 Oct 2024 16:40:24 +0100 Subject: [PATCH] Improve fileinfo stat st_mtime will expand to st_mtim.tv_sec using a macro --- src/menu/views/file_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu/views/file_info.c b/src/menu/views/file_info.c index 1b4609c4..9d45574b 100644 --- a/src/menu/views/file_info.c +++ b/src/menu/views/file_info.c @@ -84,7 +84,7 @@ static void draw (menu_t *menu, surface_t *d) { S_ISDIR(st.st_mode) ? "Directory" : "File", st.st_mode & S_IWUSR ? "" : "(Read only)", format_file_type(menu->browser.entry->name, S_ISDIR(st.st_mode)), - ctime(&st.st_mtim.tv_sec) + ctime(&st.st_mtime) ); component_actions_bar_text_draw(