diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-12-03 19:01:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-12-03 19:01:52 (GMT) |
commit | 51d34575439def6dde90a4dd11da75e27548e0b8 (patch) | |
tree | f5a73ad7274adc3e2d3f892faea475f441cea279 | |
parent | 53ca521c3de1a23d7a1f3766f011c1a21637e94e (diff) | |
parent | c6bf96520bcff56d3fd67d4277c05b8db9ac2128 (diff) | |
download | Doxygen-51d34575439def6dde90a4dd11da75e27548e0b8.zip Doxygen-51d34575439def6dde90a4dd11da75e27548e0b8.tar.gz Doxygen-51d34575439def6dde90a4dd11da75e27548e0b8.tar.bz2 |
Merge pull request #417 from ilor/dir-prefix-find-rev
Fix computeCommonDirPrefix sometimes not finding the correct prefix
-rw-r--r-- | src/dirdef.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dirdef.cpp b/src/dirdef.cpp index 28c073e..10adcc9 100644 --- a/src/dirdef.cpp +++ b/src/dirdef.cpp @@ -836,6 +836,7 @@ static void computeCommonDirPrefix() else // dir is shorter than path -> take path of dir as new start { path=dir->name(); + l=path.length(); int i=path.findRev('/',l-2); if (i==-1) // no unique prefix -> stop { |