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