From 23999d799cfe844b604f193183f8f84052c8e746 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 23 Dec 2020 14:36:00 +0100 Subject: patch 8.2.2198: ml_get error when resizing window and using text property Problem: ml_get error when resizing window and using text property. Solution: Validate botline of the right window. (closes #7528) --- src/textprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textprop.c') diff --git a/src/textprop.c b/src/textprop.c index 5a18f6c73..b6cae70a8 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -419,7 +419,7 @@ find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, int i; // w_botline may not have been updated yet. - validate_botline(); + validate_botline_win(wp); for (lnum = wp->w_topline; lnum < wp->w_botline; ++lnum) { count = get_text_props(wp->w_buffer, lnum, &props, FALSE); -- cgit v1.2.1