We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e8322c commit d7e17b2Copy full SHA for d7e17b2
1 file changed
components/files/memorystream.hpp
@@ -19,7 +19,7 @@ namespace Files
19
pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which) override
20
{
21
if (dir == std::ios_base::cur)
22
- gbump(off);
+ setg(bufferStart, gptr() + off, bufferEnd);
23
else
24
setg(bufferStart, (dir == std::ios_base::beg ? bufferStart : bufferEnd) + off, bufferEnd);
25
0 commit comments