shithub: riscv

Download patch

ref: c2304e9329802a06d43e7158d3e061e1b4c16069
parent: 9caf93faa8f37f6c744a609f55ca6e211359c806
author: aiju <[email protected]>
date: Wed Aug 1 19:14:39 EDT 2012

make sam jump to changes made by undo

--- a/sys/src/cmd/sam/xec.c
+++ b/sys/src/cmd/sam/xec.c
@@ -277,6 +277,7 @@
 	else
 		while(n++ && undo(FALSE))
 			;
+	moveto(f, f->dot.r);
 	return TRUE;
 }