Commit 89ba96f4 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(create_tty_output) [MSDOS]: #ifdef away.

(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
parent a3a8b002
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)
......
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment