diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c index 84e489f9..8aac0ac0 100644 --- a/src/cmd/acme/text.c +++ b/src/cmd/acme/text.c @@ -645,13 +645,13 @@ texttype(Text *t, Rune r) 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; |