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 13fdac0613
commit 9de3d1c1da

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()];
} }
} }