Changeset 19570


Ignore:
Timestamp:
Apr 28, 2010 9:25:36 PM (6 years ago)
Author:
warmerdam
Message:

ensure rset search is done against physical filename when operating on a subdataset (#3546)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gdal/frmts/nitf/nitfdataset.cpp

    r19507 r19570  
    20862086    if( pszOverviewFile == NULL )
    20872087    {
    2088         if( poDS->CheckForRSets(poOpenInfo->pszFilename) )
     2088        if( poDS->CheckForRSets(pszFilename) )
    20892089            pszOverviewFile = poDS->osRSetVRT;
    20902090    }       
     
    45544554    if (strlen(errorMessage) != 0)
    45554555    {
    4556         CPLError(CE_Failure, CPLE_AppDefined,errorMessage);
     4556        CPLError(CE_Failure, CPLE_AppDefined, "%s", errorMessage);
    45574557        return FALSE;
    45584558    }
Note: See TracChangeset for help on using the changeset viewer.