Skip to content

Commit

Permalink
Merge pull request #10755 from albert-github/feature/issue_10754
Browse files Browse the repository at this point in the history
issue #10754 GENERATE_HTMLHELP with \msc & \endmsc is broken because of absolute paths in index.hhp since 1.9.3
  • Loading branch information
doxygen committed Mar 22, 2024
2 parents 1fba2d7 + 8a04ecd commit e7a719d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/msc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ void writeMscGraphFromFile(const QCString &inFile,const QCString &outDir,
}
}

int i=std::max(imgName.findRev('/'),imgName.findRev('\\'));
if (i!=-1) // strip path
{
imgName=imgName.right(imgName.length()-i-1);
}
Doxygen::indexList->addImageFile(imgName);

}
Expand Down

0 comments on commit e7a719d

Please sign in to comment.