Change croteria for setting eoff=egul
This commit is contained in:
+2
-1
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user