diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 3ab02c501b8..c6782efa606 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2908,10 +2908,12 @@ delete_tty (struct display *display) | |||
| 2908 | void | 2908 | void |
| 2909 | create_tty_output (struct frame *f) | 2909 | create_tty_output (struct frame *f) |
| 2910 | { | 2910 | { |
| 2911 | struct tty_output *t; | ||
| 2912 | |||
| 2911 | if (! FRAME_TERMCAP_P (f)) | 2913 | if (! FRAME_TERMCAP_P (f)) |
| 2912 | abort (); | 2914 | abort (); |
| 2913 | 2915 | ||
| 2914 | struct tty_output *t = xmalloc (sizeof (struct tty_output)); | 2916 | t = xmalloc (sizeof (struct tty_output)); |
| 2915 | bzero (t, sizeof (struct tty_output)); | 2917 | bzero (t, sizeof (struct tty_output)); |
| 2916 | 2918 | ||
| 2917 | t->display_info = FRAME_DISPLAY (f)->display_info.tty; | 2919 | t->display_info = FRAME_DISPLAY (f)->display_info.tty; |