summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
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;
}
}