aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index adbb6e5088b..42c6fb75efa 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28486,8 +28486,7 @@ display_and_set_cursor (struct window *w, bool on,
28486 } 28486 }
28487 28487
28488 glyph = NULL; 28488 glyph = NULL;
28489 if (!glyph_row->exact_window_width_line_p 28489 if (0 <= hpos && hpos < glyph_row->used[TEXT_AREA])
28490 || (0 <= hpos && hpos < glyph_row->used[TEXT_AREA]))
28491 glyph = glyph_row->glyphs[TEXT_AREA] + hpos; 28490 glyph = glyph_row->glyphs[TEXT_AREA] + hpos;
28492 28491
28493 eassert (input_blocked_p ()); 28492 eassert (input_blocked_p ());