Subversion Repositories wimsdev

Rev

Rev 8185 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8185 Rev 11124
Line 236... Line 236...
236
    }
236
    }
237
    if(c2!=NULL && *c2!=0) {
237
    if(c2!=NULL && *c2!=0) {
238
      str2list(c2,2); for(i=0;i<listcnt;i++) by[i]=listbuf[i];
238
      str2list(c2,2); for(i=0;i<listcnt;i++) by[i]=listbuf[i];
239
    }
239
    }
240
    op=getenv("w_curvecomp_option"); if(op==NULL) op="";
240
    op=getenv("w_curvecomp_option"); if(op==NULL) op="";
-
 
241
    if(bx[0]==-1) bx[0]=0;
241
    if(bx[0]==-1) bx[0]=0; if(bx[1]==-1) bx[1]=pointlim;
242
    if(bx[1]==-1) bx[1]=pointlim;
-
 
243
    if(by[0]==-1) by[0]=0;
242
    if(by[0]==-1) by[0]=0; if(by[1]==-1) by[1]=pointlim;
244
    if(by[1]==-1) by[1]=pointlim;
243
    c1=getenv("w_curvecomp_tolerance");
245
    c1=getenv("w_curvecomp_tolerance");
244
    if(c1!=NULL && *c1!=0) tol=atoi(c1);
246
    if(c1!=NULL && *c1!=0) tol=atoi(c1);
245
    tol=Min(30,Max(5,tol));
247
    tol=Min(30,Max(5,tol));
246
 
248
 
247
    if(strstr(op,"discrete1")!=NULL) discrete=1; else discrete=0;
249
    if(strstr(op,"discrete1")!=NULL) discrete=1; else discrete=0;