diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-04 22:51:29 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-04 22:51:29 +0200 |
| commit | e09709d92d89c8593f7390f12dc22fdc563eb57f (patch) | |
| tree | d6fcda8842fd1df3282a0fde62943b0e7c300f03 | |
| parent | b1d383a0a344e35dad1064e129f70d52bddfd7b2 (diff) | |
| download | st-e09709d92d89c8593f7390f12dc22fdc563eb57f.tar.gz st-e09709d92d89c8593f7390f12dc22fdc563eb57f.zip | |
Forgot one line. It's late.
| -rw-r--r-- | st.c | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -843,7 +843,6 @@ ttyresize(int x, int y) { | |||
| 843 | w.ws_col = term.col; | 843 | w.ws_col = term.col; |
| 844 | w.ws_xpixel = xw.w; | 844 | w.ws_xpixel = xw.w; |
| 845 | w.ws_ypixel = xw.h; | 845 | w.ws_ypixel = xw.h; |
| 846 | w.ws_xpixel = w.ws_ypixel = 0; | ||
| 847 | if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0) | 846 | if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0) |
| 848 | fprintf(stderr, "Couldn't set window size: %s\n", SERRNO); | 847 | fprintf(stderr, "Couldn't set window size: %s\n", SERRNO); |
| 849 | } | 848 | } |
