Content-Length: 661 | pFad | http://github.com/doxygen/doxygen/pull/11657.diff

thub.com diff --git a/src/util.cpp b/src/util.cpp index 5ccf13ffc8..31365b5561 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3474,7 +3474,9 @@ FileDef *findFileDef(const FileNameLinkedMap *fnMap,const QCString &n,bool &ambi { FileDef *fd = fd_p.get(); QCString fdStripPath = stripFromIncludePath(fd->getPath()); - if (path.isEmpty() || fdStripPath.right(pathStripped.length())==pathStripped) + if (path.isEmpty() || + (!pathStripped.isEmpty() && fdStripPath.endsWith(pathStripped)) || + (pathStripped.isEmpty() && fdStripPath.isEmpty())) { count++; lastMatch=fd;








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/doxygen/doxygen/pull/11657.diff

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy