]> git.lyx.org Git - features.git/commitdiff
Now the right patch:
authorStefan Schimanski <sts@lyx.org>
Tue, 26 Feb 2008 00:38:14 +0000 (00:38 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 26 Feb 2008 00:38:14 +0000 (00:38 +0000)
* compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23237 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/weighted_btree.h

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