diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-29 18:12:37 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-29 18:12:37 +0200 |
commit | 65c543b8a6350ca6080589291a3f87f22c66a04e (patch) | |
tree | 52cf3c144fede00d15f5577810cbf8c01e9bc0d8 /src | |
parent | Fix previous commit. (diff) | |
download | calp-65c543b8a6350ca6080589291a3f87f22c66a04e.tar.gz calp-65c543b8a6350ca6080589291a3f87f22c66a04e.tar.xz |
Stop adding copies of vcomponent to parent.
Diffstat (limited to '')
-rw-r--r-- | src/vcal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -124,7 +124,8 @@ int vcomponent_copy(vcomponent* dest, vcomponent* src) { PUSH(LLIST(vcomponent))(&dest->components, c); } - PUSH(vcomponent)(src->parent, dest); + dest->parent = src->parent; + // PUSH(vcomponent)(src->parent, dest); return 0; } |