tvg_saver: fix the argument of the sizeof call

We got the size of a pointer instead of the size of a whole table.
Fixed now
This commit is contained in:
Mira Grudzinska 2021-10-12 21:00:19 +02:00 committed by Hermet Park
parent 0497ac894e
commit 0bffe930ad

View file

@ -524,7 +524,7 @@ TvgBinCounter TvgSaver::serializePath(const Shape* shape, const Matrix* transfor
auto cnt = writeData(&cmdCnt, SIZE(cmdCnt));
cnt += writeData(&ptsCnt, SIZE(ptsCnt));
cnt += writeData(outCmds, SIZE(outCmds));
cnt += writeData(outCmds, SIZE(TvgBinFlag) * cmdCnt);
//transform?
if (preTransform) {