Commit b3e1cb05 authored by Geoff Voelker's avatar Geoff Voelker
Browse files

(reset_terminal_modes): Only invoke hook if defined.

parent 4a3bf565
......@@ -371,7 +371,8 @@ reset_terminal_modes ()
{
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)
......
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