Fix min-width end condition handling

* src/xdisp.c (handle_display_prop): Fix check for min-width ends
-- they may be consecutive.
This commit is contained in:
Lars Ingebrigtsen 2021-11-24 12:44:45 +01:00
parent d30cdbbde4
commit fdafaf5e41

View file

@ -5340,8 +5340,7 @@ handle_display_prop (struct it *it)
Qdisplay, object, &overlay);
/* Handle min-width ends. */
if (! NILP (it->min_width_property)
&& NILP (find_display_property (propval, Qmin_width)))
if (!NILP (it->min_width_property))
display_min_width (it, bufpos, object, Qnil);
if (NILP (propval))