1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

fixed bug in D-binding: state.getRemainingBuffer

This commit is contained in:
Marenz 2011-05-17 00:27:20 +02:00
parent 1edd326f1f
commit 1b9b4b733f

View file

@ -265,7 +265,7 @@ struct ParseState
void getRemainingBuffer ( ref ubyte[] buf ) void getRemainingBuffer ( ref ubyte[] buf )
{ {
buf = this.buffer.ptr[cursor .. getRemainingLength()]; buf = this.buffer.ptr[cursor .. cursor + getRemainingLength()];
} }
} }