FIX: Multi Rename - negative index without end index

This commit is contained in:
Alexander Koblov 2019-05-23 17:50:38 +00:00
commit b56d564501

View file

@ -945,6 +945,7 @@ begin
if iDelim = 0 then
begin
iFrom := StrToIntDef(Copy(sFormatStr, 2, MaxInt), 1);
if iFrom < 0 then iFrom := sOrig.Length + iFrom + 1;
iTo := iFrom;
end
// Range e.g. N1,3 (from 1, 3 symbols)