Change croteria for setting eoff=egul

This commit is contained in:
Marty Kraimer
2002-05-17 16:02:02 +00:00
parent e3f52845d0
commit 5c3da28b5e
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -183,7 +183,8 @@ static long init_record(void *precord,int pass)
return(S_dev_missingSup);
}
pai->init = TRUE;
if ((pai->linr == menuConvertLINEAR) && pdset->special_linconv) {
/*The following is for old device support that doesnt know about eoff*/
if ((pai->eslo==1.0) && (pai->eoff==0.0)) {
pai->eoff = pai->egul;
}
+2 -1
View File
@@ -182,7 +182,8 @@ static long init_record(pao,pass)
return(S_dev_missingSup);
}
pao->init = TRUE;
if ((pao->linr == menuConvertLINEAR) && pdset->special_linconv) {
/*The following is for old device support that doesnt know about eoff*/
if ((pao->eslo==1.0) && (pao->eoff==0.0)) {
pao->eoff = pao->egul;
}