From 694f21d8b9188ebaa65c3ff0195cb5e904c252b5 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 23 Jul 2001 14:42:59 +0000 Subject: [PATCH] fix breakpoint table problem --- src/dbStatic/dbLexRoutines.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dbStatic/dbLexRoutines.c b/src/dbStatic/dbLexRoutines.c index c3e6405ce..848fe0af7 100644 --- a/src/dbStatic/dbLexRoutines.c +++ b/src/dbStatic/dbLexRoutines.c @@ -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) {