commit | 63853aa06999bf26dd9590b864989f4f3008e694 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Sun Oct 17 00:12:14 2004 +0000 |
committer | rsc <devnull@localhost> | Sun Oct 17 00:12:14 2004 +0000 |
tree | 06fa965cc3e12f9a2a42d33a555af33c68bc4b51 | |
parent | 0ffd63f553f9faa62b675f27c1cf9548d5e7c744 [diff] |
bug fix in Zerox arrow handling from rob
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c index 84e489f..8aac0ac 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c
@@ -645,13 +645,13 @@ switch(r){ case Kleft: if(t->q0 > 0){ - textcommit(t, TRUE); + wincommit(t->w, t); textshow(t, t->q0-1, t->q0-1, TRUE); } return; case Kright: if(t->q1 < t->file->b.nc){ - textcommit(t, TRUE); + wincommit(t->w, t); textshow(t, t->q1+1, t->q1+1, TRUE); } return;