mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
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:
parent
0497ac894e
commit
0bffe930ad
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue