diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-07-10 23:05:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-07-10 23:05:17 +0200 |
commit | c120c7bcbcf115ecc2a6668f4c7f45b3d4a5bc86 (patch) | |
tree | 5550610553d1b1d7236d052b6e956b22e0bb4883 /app/bin/cstruct.c | |
parent | 67d0ce65dc6a1d240e271a7cd479b60aa1dc2967 (diff) | |
parent | 26d299964db18cb71c2c6a5be4864479ba82d54f (diff) |
Merge branch 'release/debian/5.1.1-1'debian/5.1.1-1
Diffstat (limited to 'app/bin/cstruct.c')
-rw-r--r-- | app/bin/cstruct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/bin/cstruct.c b/app/bin/cstruct.c index 41c47e5..6ad240c 100644 --- a/app/bin/cstruct.c +++ b/app/bin/cstruct.c @@ -122,6 +122,7 @@ EXPORT turnoutInfo_t * CreateNewStructure( } to->segCnt = segCnt; to->segs = (trkSeg_p)memdup( segData, (sizeof *segData) * segCnt ); + CopyPoly(to->segs,segCnt); GetSegBounds( zero, 0.0, to->segCnt, to->segs, &to->orig, &to->size ); #ifdef REORIGSTRUCT GetSegBounds( zero, 0.0, to->segCnt, to->segs, &orig, &to->size ); |