X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Ffillbuffer.c;h=8da93ad345fb8a1ff0963eb28cb95d06f81ff1b4;hp=ecfb96859bcc668b63bfe866d6aca7b4017e5ba8;hb=50c9c6af3784c1fce7a82c50df1e7ef8f9b57bd4;hpb=6d6c3569fc29f2954f5cfe8c2396964cb8723481 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;