fix breakpoint table problem

This commit is contained in:
Marty Kraimer
2001-07-23 14:42:59 +00:00
parent 018f0b5186
commit 694f21d8b9
+4
View File
@@ -810,6 +810,10 @@ static void dbBreakBody(void)
(pnewbrkTable->papBrkInt[i+1]->eng - pnewbrkTable->papBrkInt[i]->eng)/
(pnewbrkTable->papBrkInt[i+1]->raw - pnewbrkTable->papBrkInt[i]->raw);
}
if(number>1) {
pnewbrkTable->papBrkInt[number-1]->slope =
pnewbrkTable->papBrkInt[number-2]->slope;
}
/* Add brkTable in sorted order */
pbrkTable = (brkTable *)ellFirst(&pdbbase->bptList);
while(pbrkTable) {