aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index 4c8d67f..83edbb8 100644
--- a/st.c
+++ b/st.c
@@ -292,7 +292,7 @@ static void tfulldirt(void);
292 292
293static void ttynew(void); 293static void ttynew(void);
294static void ttyread(void); 294static void ttyread(void);
295static void ttyresize(int, int); 295static void ttyresize(void);
296static void ttywrite(const char *, size_t); 296static void ttywrite(const char *, size_t);
297 297
298static void xdraws(char *, Glyph, int, int, int, int); 298static void xdraws(char *, Glyph, int, int, int, int);
@@ -899,7 +899,7 @@ ttywrite(const char *s, size_t n) {
899} 899}
900 900
901void 901void
902ttyresize(int x, int y) { 902ttyresize(void) {
903 struct winsize w; 903 struct winsize w;
904 904
905 w.ws_row = term.row; 905 w.ws_row = term.row;
@@ -2327,7 +2327,7 @@ resize(XEvent *e) {
2327 xclear(0, 0, xw.w, xw.h); 2327 xclear(0, 0, xw.w, xw.h);
2328 tresize(col, row); 2328 tresize(col, row);
2329 xresize(col, row); 2329 xresize(col, row);
2330 ttyresize(col, row); 2330 ttyresize();
2331} 2331}
2332 2332
2333void 2333void