Skip to content

Commit

Permalink
gdalwarp: in term progress, only display the short filename of the fi…
Browse files Browse the repository at this point in the history
…le being processed
  • Loading branch information
rouault committed Oct 28, 2024
1 parent ae153d0 commit 67f18e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/gdalwarp_lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2552,8 +2552,8 @@ static GDALDatasetH GDALWarpDirect(const char *pszDest, GDALDatasetH hDstDS,
{
CPLString osMsg;
osMsg.Printf("Processing %s [%d/%d]",
GDALGetDescription(pahSrcDS[iSrc]), iSrc + 1,
nSrcCount);
CPLGetFilename(GDALGetDescription(pahSrcDS[iSrc])),
iSrc + 1, nSrcCount);
return pfnExternalProgress((iSrc + dfComplete) / nSrcCount,
osMsg.c_str(), pExternalProgressData);
}
Expand Down

0 comments on commit 67f18e2

Please sign in to comment.