Commit 79d58e94 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix previous commit.

parent 15a11ac9
......@@ -8531,9 +8531,8 @@ CParaTabs.prototype.Set_FromObject = function(Tabs)
{
if (Tabs instanceof Array)
{
var Count = Tabs.length;
for (var Index = 0; Index < Count; Index++)
this.Add(new CParaTab(Tabs[Index].Value, Tabs[Index].Pos, Tabs[nIndex].Leader));
for (var nIndex = 0, nCount = Tabs.length; nIndex < nCount; ++nIndex)
this.Add(new CParaTab(Tabs[nIndex].Value, Tabs[nIndex].Pos, Tabs[nIndex].Leader));
}
};
CParaTabs.prototype.GetCount = function()
......
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