diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-02 08:35:42 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-02 08:35:42 (GMT) |
commit | c3d98a0794c8bd8246e06a21b41cd594bcdb3725 (patch) | |
tree | ef1c68f64f499c26ee8f9d7039c4654dc9a2ef2b /src | |
parent | 02b8dea10813606db4a013799a3e354368d0280f (diff) | |
download | Doxygen-c3d98a0794c8bd8246e06a21b41cd594bcdb3725.zip Doxygen-c3d98a0794c8bd8246e06a21b41cd594bcdb3725.tar.gz Doxygen-c3d98a0794c8bd8246e06a21b41cd594bcdb3725.tar.bz2 |
issue #7706: Md5 hash does not match for two different runs
Diffstat (limited to 'src')
-rw-r--r-- | src/doxygen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index b4a2932..9b7ec34 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9106,8 +9106,8 @@ static void generateDiskNames() // as the common prefix between the first and last entry const FileEntry &first = fileEntries[0]; const FileEntry &last = fileEntries[size-1]; - int first_path_size = static_cast<int>(first.path.size()); - int last_path_size = static_cast<int>(last.path.size()); + int first_path_size = static_cast<int>(first.path.size())-1; // -1 to skip trailing slash + int last_path_size = static_cast<int>(last.path.size())-1; // -1 to skip trailing slash int j=0; for (int i=0;i<first_path_size && i<last_path_size;i++) { |