emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src term.c


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs/src term.c
Date: Sun, 28 Jun 2009 19:06:50 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    09/06/28 19:06:50

Modified files:
        src            : term.c 

Log message:
        (create_tty_output) [MSDOS]: #ifdef away.
        (tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/term.c?cvsroot=emacs&r1=1.243&r2=1.244

Patches:
Index: term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/term.c,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -b -r1.243 -r1.244
--- term.c      27 Jun 2009 21:27:53 -0000      1.243
+++ term.c      28 Jun 2009 19:06:50 -0000      1.244
@@ -3178,6 +3178,7 @@
 #endif /* HAVE_GPM */
 
 
+#ifndef MSDOS
 /***********************************************************************
                            Initialization
  ***********************************************************************/
@@ -3215,6 +3216,20 @@
   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.  */
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]