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