diff --git a/Slfio/src/memrdwt.cpp b/Slfio/src/memrdwt.cpp index a6516af..9090bd9 100644 --- a/Slfio/src/memrdwt.cpp +++ b/Slfio/src/memrdwt.cpp @@ -583,23 +583,23 @@ int CMemRdWt::Const() strncpy(buf,pp,k-i); buf[k-i]='\0'; if(j==0) { - if(Sdep&&(float)atof(buf)!=Edep) { - char temm[200],temm1[200]; - temm1[0]=0; - int t=strchr(pp,0x0d)-pp; - if(t>0) { - strncpy(temm1,pp,t); - temm1[t]=0; - } - sprintf(temm,"深度段%s与前一段%g-%g不连续!",temm1,Sdep,Edep); - if(SlfError){ - strcpy(SlfError->ErrorStr,temm); - SlfError->ErrorNo=-1; - } - if(!isfirstrun){ - mes.append(temm); - } - } + // if(Sdep&&(float)atof(buf)!=Edep) { + // char temm[200],temm1[200]; + // temm1[0]=0; + // int t=strchr(pp,0x0d)-pp; + // if(t>0) { + // strncpy(temm1,pp,t); + // temm1[t]=0; + // } + // sprintf(temm,"深度段%s与前一段%g-%g不连续!",temm1,Sdep,Edep); + // if(SlfError){ + // strcpy(SlfError->ErrorStr,temm); + // SlfError->ErrorNo=-1; + // } + // if(!isfirstrun){ + // mes.append(temm); + // } + // } Sdep=(float)atof(buf); if(SdepStdep)HD->Stdep=Sdep; j++;