plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 68a6e0c0d03af1026f1b903bb071977543b7a939
parent ef27bfa4ab95825fc2f7c733064b8c96ee17d73e
Author: Russ Cox <rsc@swtch.com>
Date:   Tue, 12 Jan 2010 11:11:19 -0800

acme: let Edit redo when file is clean

R=, rsc
CC=
http://codereview.appspot.com/188042

Diffstat:
Msrc/cmd/acme/ecmd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/acme/ecmd.c b/src/cmd/acme/ecmd.c @@ -544,7 +544,7 @@ u_cmd(Text *t, Cmd *cp) flag = FALSE; } oseq = -1; - while(n-->0 && t->file->seq!=0 && t->file->seq!=oseq){ + while(n-->0 && t->file->seq!=oseq){ oseq = t->file->seq; undo(t, nil, nil, flag, 0, nil, 0); }