From cef263157d59943276202859c663ef2682fc28de Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 12 Nov 2008 19:44:49 +0000 Subject: [PATCH] whoops, forgot to seek. --- panda/src/express/subStreamBuf.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/express/subStreamBuf.cxx b/panda/src/express/subStreamBuf.cxx index 6a1268555b..4e2caf7681 100644 --- a/panda/src/express/subStreamBuf.cxx +++ b/panda/src/express/subStreamBuf.cxx @@ -237,7 +237,8 @@ underflow() { nassertr(gptr() + num_bytes <= egptr(), EOF); streamsize read_count; - _source->read(gptr(), num_bytes, read_count); + bool eof; + _source->seek_read(_cur, gptr(), num_bytes, read_count, eof); if (read_count != num_bytes) { // Oops, we didn't read what we thought we would.