added -2 to the list of allowed quotelengths

This commit is contained in:
Miodec 2022-02-21 13:36:15 +01:00
parent 0668a8cfdc
commit 725e51e9a5

View file

@ -1092,7 +1092,7 @@ export function setQuoteLength(
nosave?: boolean,
multipleMode?: boolean
): void {
if (!isConfigValueValid(len, [[-1, 0, 1, 2, 3], "numberArray"]))
if (!isConfigValueValid(len, [[-2, -1, 0, 1, 2, 3], "numberArray"]))
return invalid("quote length", len);
if (Array.isArray(len)) {