recGblInitConstantLink for sgl was referencing wrong field

This commit is contained in:
Marty Kraimer
1997-01-13 15:58:07 +00:00
parent 194784d781
commit 02e5131522

View File

@@ -139,7 +139,7 @@ static long init_record(ppt,pass)
/* get the hgv value if sgl is a constant*/
if (ppt->sgl.type == CONSTANT )
{
recGblInitConstantLink(&ppt->sgl,DBF_SHORT,&ppt->hgv);
recGblInitConstantLink(&ppt->sgl,DBF_SHORT,&ppt->sgv);
}
/* must have write_pt functions defined */