summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-11-29 10:58:46 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-11-29 10:58:46 (GMT)
commit37ea04c317f9e1e8a09e5944b8c6c2c2ef35b1f6 (patch)
treeda1fd4acff3de32b6d126e669f4c475e3513ef5f /src/latexgen.cpp
parent200b828ead9f6bb5b2f6f99919837d5828a250e4 (diff)
downloadDoxygen-37ea04c317f9e1e8a09e5944b8c6c2c2ef35b1f6.zip
Doxygen-37ea04c317f9e1e8a09e5944b8c6c2c2ef35b1f6.tar.gz
Doxygen-37ea04c317f9e1e8a09e5944b8c6c2c2ef35b1f6.tar.bz2
Bug ?? for page numbers in the latex indices
Due to the fact that the path was not stripped from the file name in case CREATE_SUBDIRS was set to YES there was a reference to a non existing page reference. In the corresponding hypertarget and label the path was already stripped.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 874b485..e2c2a11 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1065,7 +1065,7 @@ void LatexGenerator::endIndexItem(const char *ref,const char *fn)
{
if (!ref && fn)
{
- t << "}{\\pageref{" << fn << "}}{}" << endl;
+ t << "}{\\pageref{" << stripPath(fn) << "}}{}" << endl;
}
}