diff options
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index adc2dedf..6d928719 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -272,14 +272,11 @@ talk_request(int sig) currutmp->mode = 0; currutmp->chatid[0] = 1; - old_screen.raw_memory = malloc(screen_backupsize(t_lines, big_picture)); - screen_backup(t_lines, big_picture, &old_screen); + screen_backup(&old_screen); talkreply(); currutmp->mode = mode0; currutmp->chatid[0] = c0; - screen_restore(t_lines, big_picture, &old_screen); - free(old_screen.raw_memory); - redoscr(); + screen_restore(&old_screen); } } |