summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/wind.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 18:05:48 +0000
committerrsc <devnull@localhost>2005-03-18 18:05:48 +0000
commit2a373ea419dafeed391ae37d152f06625bdb7255 (patch)
tree06364c6f3778c23517d7259a3b482d811889e8dd /src/cmd/acme/wind.c
parentc1fca1adb018ad47beb0abfe4c3dbfcc87c81ebd (diff)
downloadplan9port-2a373ea419dafeed391ae37d152f06625bdb7255.tar.gz
plan9port-2a373ea419dafeed391ae37d152f06625bdb7255.zip
month old bug fix from rob
Diffstat (limited to 'src/cmd/acme/wind.c')
-rw-r--r--src/cmd/acme/wind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c
index 336a65fe..66edbc80 100644
--- a/src/cmd/acme/wind.c
+++ b/src/cmd/acme/wind.c
@@ -80,9 +80,9 @@ wininit(Window *w, Window *clone, Rectangle r)
//assert(w->body.w == w);
if(clone){
w->dirty = clone->dirty;
+ w->autoindent = clone->autoindent;
textsetselect(&w->body, clone->body.q0, clone->body.q1);
winsettag(w);
- w->autoindent = clone->autoindent;
}
}