fixed bad data ref bug

This commit is contained in:
Jeff Hill
1996-12-13 00:11:32 +00:00
parent 88140f9116
commit 1c091779a8

View File

@@ -73,6 +73,12 @@ void exVectorPV::scan()
pDD->unreference();
}
//
// install the buffer into the DD
// (do this before we increment pF)
//
*pDD = pF;
//
// double check for reasonable bounds on the
// current value
@@ -104,11 +110,6 @@ void exVectorPV::scan()
*(pF++) = newValue;
}
//
// install the buffer into the DD
//
*pDD = pF;
status = this->update (*pDD);
if (status) {
errMessage (status, "scan update failed\n");