aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-03-19 02:52:39 +0000
committerKarl Heuer <[email protected]>1994-03-19 02:52:39 +0000
commita1c3de84f5f59a5e15cf6f691a42a4f3fe6dd4ed (patch)
tree4b4173baf6b8116b5d8577b36a64c66c8c8d81e7 /src/dispnew.c
parent6f63ba7956adafc621f7c66ff69af9b77f052123 (diff)
(direct_output_for_insert): Handle termcap frames as well as X.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index e02aa249be..e954d62312 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -896,11 +896,8 @@ direct_output_for_insert (g)
#ifdef HAVE_X_WINDOWS
int dummy;
int face = compute_char_face (frame, w, point - 1, -1, -1, &dummy, point);
-#else
- int face = 0;
#endif
-
- current_frame->glyphs[vpos][hpos] = MAKE_GLYPH (g, face);
+ current_frame->glyphs[vpos][hpos] = MAKE_GLYPH (frame, g, face);
}
unchanged_modified = MODIFF;
beg_unchanged = GPT - BEG;
@@ -2230,4 +2227,3 @@ See `buffer-display-table' for more information.");
Vwindow_system_version = Qnil;
}
}
-