1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

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

* src/fontset.c (fontset_add): Fix off-by-one error at TO.
(Bug#39482)
This commit is contained in:
Eli Zaretskii 2020-02-09 19:18:38 +02:00
parent 530067463b
commit 06c302d425

View File

@ -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
{