diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
commit | 2b3b1bd0ed03739e3357516490e265261c5f815f (patch) | |
tree | 2be37644621ab86838bb6fdb20954660ce617064 /menu.c | |
parent | f1751dbb895996728f293c6f895691693c9e8a86 (diff) |
use double instead of struct timespec
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |