Now the right patch:

* compile fix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23237 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-26 00:38:14 +00:00
parent 98a72aac8a
commit 16b17efc9b

View File

@ -2547,7 +2547,7 @@ private:
left->weights[left->slotuse + i] = right->weights[i]; left->weights[left->slotuse + i] = right->weights[i];
} }
left->slotuse += right->slotuse; left->slotuse += right->slotuse;
left->weight += right.weight; left->weight += right->weight;
left->nextleaf = right->nextleaf; left->nextleaf = right->nextleaf;
if (left->nextleaf) if (left->nextleaf)
@ -2600,7 +2600,7 @@ private:
left->childid[left->slotuse + i] = right->childid[i]; left->childid[left->slotuse + i] = right->childid[i];
} }
left->slotuse += right->slotuse; left->slotuse += right->slotuse;
left->weight += right.weight; left->weight += right->weight;
left->childid[left->slotuse] = right->childid[right->slotuse]; left->childid[left->slotuse] = right->childid[right->slotuse];