summaryrefslogtreecommitdiff
path: root/src/file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cc')
-rw-r--r--src/file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cc b/src/file.cc
index 180eca4a..79043d1c 100644
--- a/src/file.cc
+++ b/src/file.cc
@@ -392,7 +392,7 @@ void write_buffer_to_file(Buffer& buffer, StringView filename,
if ((buffer.flags() & Buffer::Flags::File) and
real_path(filename) == real_path(buffer.name()))
- buffer.notify_saved();
+ buffer.notify_saved(get_fs_status(real_path(filename)));
}
void write_buffer_to_backup_file(Buffer& buffer)