David Rose před 23 roky
rodič
revize
a33c3414b9

+ 1 - 0
panda/src/express/subStreamBuf.cxx

@@ -291,6 +291,7 @@ underflow() {
         if (_end != (streampos)0) {
           _end = _cur;
         }
+        gbump(num_bytes);
         return EOF;
       }
 

+ 1 - 0
panda/src/express/zStreamBuf.cxx

@@ -221,6 +221,7 @@ underflow() {
     if (read_count != num_bytes) {
       // Oops, we didn't read what we thought we would.
       if (read_count == 0) {
+        gbump(num_bytes);
         return EOF;
       }