aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-04 22:51:29 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-04 22:51:29 +0200
commita9550744b5068c7abba591a2700a4053be46a933 (patch)
treed6fcda8842fd1df3282a0fde62943b0e7c300f03 /st.c
parentb9567a9b18ed2f5fe39a7ef4e50619aa8efd4853 (diff)
downloadst-a9550744b5068c7abba591a2700a4053be46a933.tar.gz
st-a9550744b5068c7abba591a2700a4053be46a933.tar.bz2
Forgot one line. It's late.
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/st.c b/st.c
index 63c3f85..a2564f8 100644
--- a/st.c
+++ b/st.c
@@ -843,7 +843,6 @@ ttyresize(int x, int y) {
w.ws_col = term.col;
w.ws_xpixel = xw.w;
w.ws_ypixel = xw.h;
- w.ws_xpixel = w.ws_ypixel = 0;
if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0)
fprintf(stderr, "Couldn't set window size: %s\n", SERRNO);
}