aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2017-08-03 00:51:03 +0200
committerPetter Rodhelind <petter.rodhelind@gmail.com>2017-08-03 00:51:03 +0200
commit3792be8ab8fe8253fa4758a646963eb7fb95b390 (patch)
tree54cd71ce3d40fbf17fcb8e04d33380d6de5021c7 /src/cmd/acme
parent95737350aa0cb529c72b9abf84a812e2981e65cf (diff)
downloadplan9port-3792be8ab8fe8253fa4758a646963eb7fb95b390.tar.gz
plan9port-3792be8ab8fe8253fa4758a646963eb7fb95b390.tar.bz2
plan9port-3792be8ab8fe8253fa4758a646963eb7fb95b390.zip
acme: Use the same tabstop setting in cloned/zerox window as in the source window.
Diffstat (limited to 'src/cmd/acme')
-rw-r--r--src/cmd/acme/wind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c
index 7b4ddb8a..d255d00b 100644
--- a/src/cmd/acme/wind.c
+++ b/src/cmd/acme/wind.c
@@ -85,6 +85,7 @@ wininit(Window *w, Window *clone, Rectangle r)
w->dirty = clone->dirty;
w->autoindent = clone->autoindent;
w->tabexpand = clone->tabexpand;
+ w->body.tabstop = clone->body.tabstop;
textsetselect(&w->body, clone->body.q0, clone->body.q1);
winsettag(w);
}