git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6581bf
)
fixed a bug in memreader.
author
kramm
<kramm>
Mon, 24 Jan 2005 20:53:58 +0000
(20:53 +0000)
committer
kramm
<kramm>
Mon, 24 Jan 2005 20:53:58 +0000
(20:53 +0000)
lib/bitio.c
patch
|
blob
|
history
diff --git
a/lib/bitio.c
b/lib/bitio.c
index
26d89c1
..
b3cdf24
100644
(file)
--- a/
lib/bitio.c
+++ b/
lib/bitio.c
@@
-89,7
+89,7
@@
static int reader_memread(struct reader_t*reader, void* data, int len)
return len;
} else {
memcpy(data, &mr->data[reader->pos], mr->length - reader->pos);
- reader->pos = mr->length;
+ reader->pos += mr->length;
return mr->length - reader->pos;
}
}