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 84e58ca..ae024b2 100644
--- a/menu.c
+++ b/menu.c
@@ -199,7 +199,7 @@ void menu_update(Ted *ted) {
case POPUP_NO:
menu_close(ted);
if (buffer)
- buffer->last_write_time = timespec_to_seconds(time_last_modified(buffer->filename));
+ buffer->last_write_time = timespec_to_seconds(time_last_modified(buffer->path));
break;
case POPUP_CANCEL: assert(0); break;
}