tadd tab size to window ctl file - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit c591e1e616b72d2d9b6c7345661095b8a0ffd87d (DIR) parent 4e206880423db866dd1db0622a9b4d5b0881fee1 (HTM) Author: rsc <devnull@localhost> Date: Sun, 25 Apr 2004 20:26:49 +0000 add tab size to window ctl file Diffstat: M src/cmd/acme/acme.c | 1 + M src/cmd/acme/wind.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c t@@ -102,6 +102,7 @@ threadmain(int argc, char *argv[]) exits("usage"); }ARGEND + quotefmtinstall(); cputype = getenv("cputype"); objtype = getenv("objtype"); home = getenv("home"); (DIR) diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c t@@ -549,7 +549,7 @@ winctlprint(Window *w, char *buf, int fonts) n = sprint(buf, "%11d %11d %11d %11d %11d ", w->id, w->tag.file->b.nc, w->body.file->b.nc, w->isdir, w->dirty); if(fonts) - sprint(buf+n, "%11d %s" , Dx(w->body.fr.r), w->body.reffont->f->name); + sprint(buf+n, "%11d %q %11d" , Dx(w->body.fr.r), w->body.reffont->f->name, w->body.fr.maxtab); } void