---
st.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/st.c b/st.c
index b8fec4c..25da193 100644
--- a/st.c
+++ b/st.c
@@ -378,7 +378,7 @@ static void tnewline(int);
static void tputtab(int);
static void tputc(char *, int);
static void treset(void);
-static int tresize(int, int);
+static void tresize(int, int);
static void tscrollup(int, int);
static void tscrolldown(int, int);
static void tsetattr(int *, int);
@@ -2581,7 +2581,7 @@ tputc(char *c, int len) {
}
}
-int
+void
tresize(int col, int row) {
int i;
int minrow = MIN(row, term.row);
@@ -2591,7 +2591,7 @@ tresize(int col, int row) {
Line *orig;
if(col < 1 || row < 1)
- return 0;
+ return;
/* free unneeded rows */
i = 0;
@@ -2661,8 +2661,6 @@ tresize(int col, int row) {
tswapscreen();
tcursor(CURSOR_LOAD);
} while(orig != term.line);
-
- return (slide > 0);
}
void
--
1.8.4