From: Eli Zaretskii Date: Thu, 19 Dec 2013 19:25:13 +0000 (+0200) Subject: Fix last commit for TTYs. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~321 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=459457271091c8bb0b6734fe9bd709e86a8c66c1;p=emacs.git Fix last commit for TTYs. --- diff --git a/src/xdisp.c b/src/xdisp.c index e336ea6c333..b0fcedbd806 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -18955,12 +18955,11 @@ extend_face_to_end_of_line (struct it *it) it->c = it->char_to_display = ' '; it->len = 1; - face = FACE_FROM_ID (f, default_face->id); if (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0 && (it->glyph_row->used[LEFT_MARGIN_AREA] < WINDOW_LEFT_MARGIN_WIDTH (it->w)) && !it->glyph_row->mode_line_p - && face && face->background != FRAME_BACKGROUND_PIXEL (f)) + && default_face->background != FRAME_BACKGROUND_PIXEL (f)) { struct glyph *g = it->glyph_row->glyphs[LEFT_MARGIN_AREA]; struct glyph *e = g + it->glyph_row->used[LEFT_MARGIN_AREA]; @@ -18990,18 +18989,16 @@ extend_face_to_end_of_line (struct it *it) it->face_id = default_face->id; else it->face_id = face->id; - face = FACE_FROM_ID (f, it->face_id); PRODUCE_GLYPHS (it); while (it->current_x <= it->last_visible_x) PRODUCE_GLYPHS (it); - face = FACE_FROM_ID (f, default_face->id); if (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0 && (it->glyph_row->used[RIGHT_MARGIN_AREA] < WINDOW_RIGHT_MARGIN_WIDTH (it->w)) && !it->glyph_row->mode_line_p - && face && face->background != FRAME_BACKGROUND_PIXEL (f)) + && default_face->background != FRAME_BACKGROUND_PIXEL (f)) { struct glyph *g = it->glyph_row->glyphs[RIGHT_MARGIN_AREA]; struct glyph *e = g + it->glyph_row->used[RIGHT_MARGIN_AREA];