Skip to content

Commit d7e17b2

Browse files
committed
Test
1 parent 6e8322c commit d7e17b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/files/memorystream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace Files
1919
pos_type seekoff(off_type off, std::ios_base::seekdir dir, std::ios_base::openmode which) override
2020
{
2121
if (dir == std::ios_base::cur)
22-
gbump(off);
22+
setg(bufferStart, gptr() + off, bufferEnd);
2323
else
2424
setg(bufferStart, (dir == std::ios_base::beg ? bufferStart : bufferEnd) + off, bufferEnd);
2525

0 commit comments

Comments
 (0)