shithub: pplay

Download patch

ref: ddb90edcf4da755893f27eee303d4807f70f1ec2
parent: c0475eef48546db17305641c745a5925e38fde9f
author: qwx <qwx@sciops.net>
date: Wed Jan 25 22:03:02 EST 2023

chunk: fix wrong rerooting on cut over root

--- a/chunk.c
+++ b/chunk.c
@@ -373,7 +373,7 @@
 		return nil;
 	c = left->left;
 	if(left == norris)
-		norris = c;
+		norris = right->right;
 	unlink(left, right);
 	if(latch != nil)
 		*latch = left;