diff --git a/src/history.rs b/src/history.rs index 4f66d2957..c303ff5c3 100644 --- a/src/history.rs +++ b/src/history.rs @@ -711,7 +711,7 @@ fn save_internal_via_appending(&mut self, history_path: &wstr) -> std::io::Resul // write. // We don't update `self.file_contents` since we only appended to the file, and everything we // appended remains in our new_items - self.history_file_id = file_id; + self.history_file_id = file_id_for_file(locked_history_file.get()); drop(locked_history_file);