If recGblGetLinkValue got no values leave things as they were

This commit is contained in:
Marty Kraimer
1994-09-02 13:33:46 +00:00
parent e450164da5
commit 933150165f
+2 -1
View File
@@ -106,7 +106,8 @@ static long read_wf(pwf)
nRequest=pwf->nelm;
status = recGblGetLinkValue(&(pwf->inp),(void *)pwf,pwf->ftvl,pwf->bptr,
&options,&nRequest);
pwf->nord = nRequest;
/*If recGblGetLinkValue got no values leave things as they were*/
if(nRequest>0) pwf->nord = nRequest;
return(0);
}