diff src/term.c @ 21624:d7c8600f8775

(reset_terminal_modes): Only invoke hook if defined.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 17 Apr 1998 05:25:48 +0000
parents fa9ff387d260
children 87c7f4bd99da
line wrap: on
line diff
--- a/src/term.c	Fri Apr 17 05:25:35 1998 +0000
+++ b/src/term.c	Fri Apr 17 05:25:48 1998 +0000
@@ -371,7 +371,8 @@
 {
   if (! FRAME_TERMCAP_P (selected_frame))
     {
-      (*reset_terminal_modes_hook) ();
+      if (reset_terminal_modes_hook)
+	(*reset_terminal_modes_hook) ();
       return;
     }
   if (TN_standout_width < 0)