1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00

(create_tty_output) [MSDOS]: #ifdef away.

(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
This commit is contained in:
Eli Zaretskii 2009-06-28 19:07:16 +00:00
parent a3a8b0029a
commit 89ba96f423
2 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-06-28 Eli Zaretskii <eliz@gnu.org>
* term.c (create_tty_output) [MSDOS]: #ifdef away.
(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
2009-06-28 Chong Yidong <cyd@stupidchicken.com>
* xterm.c (x_update_window_begin, x_new_focus_frame)

View file

@ -3178,6 +3178,7 @@ DEFUN ("gpm-mouse-stop", Fgpm_mouse_stop, Sgpm_mouse_stop,
#endif /* HAVE_GPM */
#ifndef MSDOS
/***********************************************************************
Initialization
***********************************************************************/
@ -3215,6 +3216,20 @@ tty_free_frame_resources (struct frame *f)
xfree (f->output_data.tty);
}
#else /* MSDOS */
/* Delete frame F's face cache. */
static void
tty_free_frame_resources (struct frame *f)
{
if (! FRAME_TERMCAP_P (f) && ! FRAME_MSDOS_P (f))
abort ();
if (FRAME_FACE_CACHE (f))
free_frame_faces (f);
}
#endif /* MSDOS */
/* Reset the hooks in TERMINAL. */