--- thread.c.orig       Tue Nov 14 05:49:15 2000
+++ thread.c    Thu Jan 17 16:30:17 2002
@@ -238,7 +238,7 @@
                }
 
                if (msg->firstchild && (msg->firstchild->nextsib
-                                       || msg->firstchild->isdummy))
+                                       || msg->firstchild->isdummy || (msg->parent == NULL)))
                {
                        writes(pfix);
                        for (msg=msg->firstchild; msg; msg=msg->nextsib)