summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
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;
}