diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 40309231c14..947227b8a08 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -4133,7 +4133,8 @@ update_window_line (w, vpos, mouse_face_overwritten_p) | |||
| 4133 | built with a vscroll and then make_cursor_line_fully_visible shifts | 4133 | built with a vscroll and then make_cursor_line_fully_visible shifts |
| 4134 | the matrix. Make sure to make such rows current anyway, since | 4134 | the matrix. Make sure to make such rows current anyway, since |
| 4135 | we need the correct y-position, for example, in the current matrix. */ | 4135 | we need the correct y-position, for example, in the current matrix. */ |
| 4136 | if (desired_row->visible_height > 0) | 4136 | if (desired_row->mode_line_p |
| 4137 | || desired_row->visible_height > 0) | ||
| 4137 | { | 4138 | { |
| 4138 | xassert (desired_row->enabled_p); | 4139 | xassert (desired_row->enabled_p); |
| 4139 | 4140 | ||