diff --git a/src/input/BufferedInputStream.cxx b/src/input/BufferedInputStream.cxx index c0b6e0783..1aa5fa09c 100644 --- a/src/input/BufferedInputStream.cxx +++ b/src/input/BufferedInputStream.cxx @@ -85,7 +85,7 @@ BufferedInputStream::Seek(offset_type new_offset) if (seek_error) std::rethrow_exception(std::exchange(seek_error, {})); - offset = input->GetOffset(); + offset = new_offset; } bool