summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cc b/src/client.cc
index ae8f83a8..20123c2f 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -394,7 +394,7 @@ void Client::check_if_buffer_needs_reloading()
return;
if (MappedFile fd{filename};
- fd.st.st_size == status.file_size and hash_data(fd.data, fd.st.st_size) == status.hash)
+ fd.st.st_size == status.file_size and murmur3(fd.data, fd.st.st_size) == status.hash)
return;
if (reload == Autoreload::Ask)