X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;h=8da93ad345fb8a1ff0963eb28cb95d06f81ff1b4;hb=50c9c6af3784c1fce7a82c50df1e7ef8f9b57bd4;hp=ecfb96859bcc668b63bfe866d6aca7b4017e5ba8;hpb=393020b6e48719d27699dea6b29e53025bbd5123;p=pdclib diff --git a/platform/example/functions/_PDCLIB/fillbuffer.c b/platform/example/functions/_PDCLIB/fillbuffer.c index ecfb968..8da93ad 100644 --- a/platform/example/functions/_PDCLIB/fillbuffer.c +++ b/platform/example/functions/_PDCLIB/fillbuffer.c @@ -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;