summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/latexgen.cpp2
-rw-r--r--src/rtfgen.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 204683e..13a88a9 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -2159,7 +2159,7 @@ void LatexGenerator::endParameterName(bool last,bool /*emptyList*/,bool closeBra
void LatexGenerator::exceptionEntry(const char* prefix,bool closeBracket)
{
if (prefix)
- t << " " << prefix;
+ t << " " << prefix << "(";
else if (closeBracket)
t << ")";
t << " ";
diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp
index e194777..b4a9e65 100644
--- a/src/rtfgen.cpp
+++ b/src/rtfgen.cpp
@@ -2795,7 +2795,7 @@ void RTFGenerator::exceptionEntry(const char* prefix,bool closeBracket)
{
DBG_RTF(t << "{\\comment (exceptionEntry)}" << endl)
if (prefix)
- t << " " << prefix;
+ t << " " << prefix << "(";
else if (closeBracket)
t << ")";
t << " ";