(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
+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)
#endif /* HAVE_GPM */
\f
+#ifndef MSDOS
/***********************************************************************
Initialization
***********************************************************************/
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 */
\f
/* Reset the hooks in TERMINAL. */