mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-12-26 18:21:51 +01:00
Improve fileinfo stat
st_mtime will expand to st_mtim.tv_sec using a macro
This commit is contained in:
parent
b07364aa3f
commit
f1238debb1
@ -84,7 +84,7 @@ static void draw (menu_t *menu, surface_t *d) {
|
|||||||
S_ISDIR(st.st_mode) ? "Directory" : "File",
|
S_ISDIR(st.st_mode) ? "Directory" : "File",
|
||||||
st.st_mode & S_IWUSR ? "" : "(Read only)",
|
st.st_mode & S_IWUSR ? "" : "(Read only)",
|
||||||
format_file_type(menu->browser.entry->name, S_ISDIR(st.st_mode)),
|
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(
|
component_actions_bar_text_draw(
|
||||||
|
Loading…
Reference in New Issue
Block a user