diff options
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index cdee85b..c6bafad 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -1662,7 +1662,9 @@ void LatexGenerator::writeCodeLink(const char *ref,const char *f, if (f) t << stripPath(f); if (f && anchor) t << "_"; if (anchor) t << anchor; - t << "}{" << name << "}"; + t << "}{"; + codify(name); + t << "}"; } else { @@ -2516,7 +2518,7 @@ void LatexGenerator::writeLineNumber(const char *ref,const char *fileName,const } } -void LatexGenerator::startCodeLine() +void LatexGenerator::startCodeLine(bool) { col=0; } |