Changeset 14381
- Timestamp:
- 05/06/08 11:49:44 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal/frmts/usgsdem/usgsdemdataset.cpp
r12593 r14381 323 323 fscanf(InDem, "%d", &i); 324 324 fscanf(InDem, "%d", &j); 325 if ((i!=1)||(j!=1 ))// File OK?325 if ((i!=1)||(j!=1 && j != 0)) // File OK? 326 326 { 327 327 VSIFSeek(InDem, 893, 0); // Undocumented Format (39109h1.dem) … … 541 541 return FALSE; 542 542 543 if( !EQUALN((const char *) poOpenInfo->pabyHeader+150, " 1",6) ) 543 if( !EQUALN((const char *) poOpenInfo->pabyHeader+150, " 1",6) 544 && !EQUALN((const char *) poOpenInfo->pabyHeader+150, " 4",6)) 544 545 return FALSE; 545 546
