diff options
author | rsc <devnull@localhost> | 2005-11-11 01:37:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-11-11 01:37:00 +0000 |
commit | cf21e2e6fcaec90de18a4501dbac181148d4505e (patch) | |
tree | 5ee3f597b936e388a42aa94ead340a21edfad688 | |
parent | bcc96c1df80988a55daa87a08c5a69e301109ff5 (diff) | |
download | plan9port-cf21e2e6fcaec90de18a4501dbac181148d4505e.tar.gz plan9port-cf21e2e6fcaec90de18a4501dbac181148d4505e.tar.bz2 plan9port-cf21e2e6fcaec90de18a4501dbac181148d4505e.zip |
fixes
-rw-r--r-- | src/cmd/9term/9term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c index 82ee2c2b..686f3aa2 100644 --- a/src/cmd/9term/9term.c +++ b/src/cmd/9term/9term.c @@ -179,7 +179,7 @@ resizethread(void *v) sysfatal("can't reattach to window"); p = stringsize(display->defaultfont, "0"); if(p.x && p.y) - updatewinsize(Dy(screen->r)/p.y, Dx(screen->r)/p.x, + updatewinsize(Dy(screen->r)/p.y, (Dx(screen->r)-Scrollwid-2)/p.x, Dx(screen->r), Dy(screen->r)); wresize(w, screen, 0); flushimage(display, 1); |