projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be21dd
)
* src/xdisp.c (note_fringe_highlight): Another attempt to fix bug#70385.
author
Eli Zaretskii
<eliz@gnu.org>
Tue, 16 Apr 2024 18:23:37 +0000
(21:23 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Tue, 16 Apr 2024 18:23:37 +0000
(21:23 +0300)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index f8c8d763c5bbcfc472f7d6057999780e8454fdd0..3db8d64f731b555b25adbe07a77180ca50f83494 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-35775,7
+35775,8
@@
note_fringe_highlight (struct frame *f, Lisp_Object window, int x, int y,
/* Don't access the TEXT_AREA of a row that does not display text,
when the window is outdated, or when vpos overflows the current
matrix. (bug#70385) */
- if (window_outdated (w)
+ if (!w->window_end_valid
+ || window_outdated (w)
|| (vpos >= w->current_matrix->nrows)
|| !MATRIX_ROW_DISPLAYS_TEXT_P (MATRIX_ROW (w->current_matrix,
vpos)))