---
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
_AT_@ -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);
_AT_@ -2581,7 +2581,7 @@ tputc(char *c, int len) {
}
}
-int
+void
tresize(int col, int row) {
int i;
int minrow = MIN(row, term.row);
_AT_@ -2591,7 +2591,7 @@ tresize(int col, int row) {
Line *orig;
if(col < 1 || row < 1)
- return 0;
+ return;
/* free unneeded rows */
i = 0;
_AT_@ -2661,8 +2661,6 @@ tresize(int col, int row) {
tswapscreen();
tcursor(CURSOR_LOAD);
} while(orig != term.line);
-
- return (slide > 0);
}
void
--
1.8.4
Received on Mon Apr 28 2014 - 00:03:04 CEST
This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 00:12:15 CEST