Allow elements out of context in GOM.
[gedcom-parse.git] / gom / note.c
index 6d0dc8aa32ec7909dca13b3837199a86994c5408..2f1cba243ca61bd00efb4bb07bbf483608d62e30 100644 (file)
@@ -73,7 +73,7 @@ Gedcom_ctxt sub_cont_conc_start(_ELT_PARAMS_)
   if (! ctxt)
     NO_CONTEXT;
   else
-    result = make_gom_ctxt(elt, ctxt->obj_type, ctxt->ctxt_ptr);
+    result = dup_gom_ctxt(ctxt, elt);
   
   return (Gedcom_ctxt)result;
 }