diff --git a/apps/createsamples/utility.cpp b/apps/createsamples/utility.cpp index 198f4c2eb7..b57d3fcb81 100644 --- a/apps/createsamples/utility.cpp +++ b/apps/createsamples/utility.cpp @@ -1168,7 +1168,7 @@ void cvCreateTestSamples( const char* infoname, } else { - filename++; // character after last / or \ + filename++; // get basename after last path delimiter } count = MIN( count, cvbgdata->count );