summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 10:33:21 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 10:33:21 -0500
commit2b3b1bd0ed03739e3357516490e265261c5f815f (patch)
tree2be37644621ab86838bb6fdb20954660ce617064 /menu.c
parentf1751dbb895996728f293c6f895691693c9e8a86 (diff)
use double instead of struct timespec
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 4c62768..99a9a5b 100644
--- a/menu.c
+++ b/menu.c
@@ -196,7 +196,7 @@ static void menu_update(Ted *ted) {
case POPUP_NO:
menu_close(ted);
if (buffer)
- buffer->last_write_time = time_last_modified(buffer->filename);
+ buffer->last_write_time = timespec_to_seconds(time_last_modified(buffer->filename));
break;
case POPUP_CANCEL: assert(0); break;
}