c1652a35737e2110ab747d6acd85f5709624655f
markd
  Sun Feb 4 19:50:49 2018 -0800
fixed stupid bug in unlinking child with multiple parents from one of thoses parents

diff --git src/inc/gff3.h src/inc/gff3.h
index a6e3675..f142aba 100644
--- src/inc/gff3.h
+++ src/inc/gff3.h
@@ -256,31 +256,31 @@
  * all data is contained in localMem objects */
 {
 struct gff3AnnRef *ref;
 AllocVar(ref);
 ref->ann = g3a;
 return ref;
 }
 
 int gff3AnnRefLocCmp(const void *va, const void *vb);
 /* sort compare function for location of two gff3AnnRef objects */
 
 void gff3UnlinkChild(struct gff3Ann *g3a,
                      struct gff3Ann *child);
 /* unlink the child from it's parent (do not free) */
 
-void gff3LinkChild(struct gff3Ann *g2a,
+void gff3LinkChild(struct gff3Ann *g3a,
                     struct gff3Ann *child);
 /* Add a child to a parent */
 
 INLINE int gff3PhaseToFrame(int phase)
 /* convert a phase to a frame */
 {
 switch (phase)
     {
     case 0:
         return 0;
     case 1:
         return 2;
     case 2:
         return 1;
     }