зеркало из https://github.com/mozilla/pjs.git
Man, I'm a moron. Let's test the fix this time.
This commit is contained in:
Родитель
8a9d1b96c5
Коммит
ee8cda0022
|
@ -357,7 +357,7 @@ void
|
||||||
nsOutlinerRows::iterator::Push(Subtree *aParent, PRInt32 aChildIndex)
|
nsOutlinerRows::iterator::Push(Subtree *aParent, PRInt32 aChildIndex)
|
||||||
{
|
{
|
||||||
if (mTop < kMaxDepth - 1) {
|
if (mTop < kMaxDepth - 1) {
|
||||||
for (PRInt32 i = mTop - 1; i >= 0; ++i)
|
for (PRInt32 i = mTop - 1; i >= 0; --i)
|
||||||
mLink[i + 1] = mLink[i];
|
mLink[i + 1] = mLink[i];
|
||||||
|
|
||||||
mLink[0].mParent = aParent;
|
mLink[0].mParent = aParent;
|
||||||
|
|
|
@ -357,7 +357,7 @@ void
|
||||||
nsOutlinerRows::iterator::Push(Subtree *aParent, PRInt32 aChildIndex)
|
nsOutlinerRows::iterator::Push(Subtree *aParent, PRInt32 aChildIndex)
|
||||||
{
|
{
|
||||||
if (mTop < kMaxDepth - 1) {
|
if (mTop < kMaxDepth - 1) {
|
||||||
for (PRInt32 i = mTop - 1; i >= 0; ++i)
|
for (PRInt32 i = mTop - 1; i >= 0; --i)
|
||||||
mLink[i + 1] = mLink[i];
|
mLink[i + 1] = mLink[i];
|
||||||
|
|
||||||
mLink[0].mParent = aParent;
|
mLink[0].mParent = aParent;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче