summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/talk.c2
-rw-r--r--mbbsd/term.c10
2 files changed, 1 insertions, 11 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index c19768b0..e031160e 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -22,8 +22,8 @@ static char * const withme_str[] = {
#define TALK_MAXCOL (78)
#define TALK_BUFLEN (TALK_MAXCOL+2)
typedef struct twpic {
- unsigned char data[TALK_BUFLEN]; // bound to specific size
unsigned short len;
+ unsigned char data[TALK_BUFLEN]; // bound to specific size
} twpic_t;
typedef struct talkwin_t {
diff --git a/mbbsd/term.c b/mbbsd/term.c
index c1f5efd8..59f6e6b3 100644
--- a/mbbsd/term.c
+++ b/mbbsd/term.c
@@ -41,7 +41,6 @@ sig_term_resize(int sig)
void term_resize(int w, int h)
{
char changed = 0;
- screen_backup_t scr;
Signal(SIGWINCH, SIG_IGN); /* Don't bother me! */
@@ -52,9 +51,6 @@ void term_resize(int w, int h)
if (w != t_columns || h != t_lines)
{
- scr_dump(&scr);
- changed = 1;
-
// invoke terminal system resize
resizeterm(h, w);
@@ -66,12 +62,6 @@ void term_resize(int w, int h)
p_lines = t_lines - 4;
Signal(SIGWINCH, sig_term_resize);
-
- if (changed)
- {
- scr_restore(&scr);
- redrawwin();
- }
}
int