Commit 06c302d4 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix set-fontset-font with ADD arg non-nil

* src/fontset.c (fontset_add): Fix off-by-one error at TO.
(Bug#39482)
parent 53006746
Pipeline #4770 passed with stage
in 54 minutes and 18 seconds
......@@ -353,7 +353,7 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec
(NILP (args[idx]) ? args[1 - idx]
: CALLMANY (Fvconcat, args)));
from = to1 + 1;
} while (from < to);
} while (from <= to);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment