about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mthread.c b/mthread.c
index cb59a99..3dbccbb 100644
--- a/mthread.c
+++ b/mthread.c
@@ -307,7 +307,8 @@ prune_tree(struct container *c, int depth)
 			c->mid = c->child->mid;
 			c->file = c->child->file;
 			c->msg = c->child->msg;
-			c->date = c->child->date;
+			if (c->child->date > c->date)
+				c->date = c->child->date;
 			c->optional = c->child->optional;
 			c->child = c->child->child;
 		}