From e9ca9dcd2b4606dedfde0e6f9084c654f09becc8 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 4 Jan 2021 10:27:45 +0100 Subject: issue #8300: File naming changed in Doxygen 1.9.0 --- src/doxygen.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 257a031..82c86ce 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9325,11 +9325,22 @@ static void generateDiskNames() int first_path_size = static_cast(first.path.size())-1; // -1 to skip trailing slash int last_path_size = static_cast(last.path.size())-1; // -1 to skip trailing slash int j=0; - for (int i=0;i match is 'some/path' + j=first_path_size; + } + else if (i==last_path_size && i match is 'some/path' + j=last_path_size; + } // add non-common part of the path to the name for (auto &fileEntry : fileEntries) -- cgit v0.12