]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/fillbuffer.c
Whoops. That wouldn't have worked...
[pdclib] / platform / example / functions / _PDCLIB / fillbuffer.c
index ecfb96859bcc668b63bfe866d6aca7b4017e5ba8..8da93ad345fb8a1ff0963eb28cb95d06f81ff1b4 100644 (file)
@@ -31,6 +31,7 @@ int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
         {
             /* TODO: Text stream conversion here */
         }
+        stream->pos.offset += rc;
         stream->bufend = rc;
         stream->bufidx = 0;
         return 0;