Comment 13 for bug 550300

Revision history for this message
Big Muscle (bigmuscle) wrote :

I finally found where the another problem was. It was caused by incorrect patch, because "getStartPos()" returns offset from the beginning of the file, but "pos" is offset form the beginning of the current segment.

So there should be:
void resetPos() { pos = 0; }

I hope this is correct now and problem is fixed.