emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src term.c [EMACS_23_1_RC]


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs/src term.c [EMACS_23_1_RC]
Date: Sun, 28 Jun 2009 18:44:53 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_23_1_RC
Changes by:     Eli Zaretskii <eliz>    09/06/28 18:44:53

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&only_with_tag=EMACS_23_1_RC&r1=1.242&r2=1.242.2.1

Patches:
Index: term.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/term.c,v
retrieving revision 1.242
retrieving revision 1.242.2.1
diff -u -b -r1.242 -r1.242.2.1
--- term.c      30 Apr 2009 05:02:03 -0000      1.242
+++ term.c      28 Jun 2009 18:44:53 -0000      1.242.2.1
@@ -3181,6 +3181,7 @@
 #endif /* HAVE_GPM */
 
 
+#ifndef MSDOS
 /***********************************************************************
                            Initialization
  ***********************************************************************/
@@ -3218,6 +3219,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]