summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-06-29 17:45:55 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-07-12 11:00:45 (GMT)
commit647b6ac8669cd8ba1e8c60eeb3c2de961c7d6a1b (patch)
tree47030a5aefd5c239cf466dbee23cc877e5b54ea1 /src/util.cpp
parent942efcb758977fe95fafc473813528085b56e4ee (diff)
downloadDoxygen-647b6ac8669cd8ba1e8c60eeb3c2de961c7d6a1b.zip
Doxygen-647b6ac8669cd8ba1e8c60eeb3c2de961c7d6a1b.tar.gz
Doxygen-647b6ac8669cd8ba1e8c60eeb3c2de961c7d6a1b.tar.bz2
Using tabu package for LaTeX tables
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 3ee7ae5..d367c40 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6461,7 +6461,6 @@ void filterLatexString(FTextStream &t,const char *str,
bool insideTabbing,bool insidePre,bool insideItem)
{
if (str==0) return;
- //printf("filterLatexString(%s)\n",str);
//if (strlen(str)<2) stackTrace();
const unsigned char *p=(const unsigned char *)str;
const unsigned char *q;
@@ -6555,7 +6554,7 @@ void filterLatexString(FTextStream &t,const char *str,
default:
//if (!insideTabbing && forceBreaks && c!=' ' && *p!=' ')
if (!insideTabbing &&
- ((c>='A' && c<='Z' && pc!=' ' && pc!='\0') || (c==':' && pc!=':') || (pc=='.' && isId(c)))
+ ((c>='A' && c<='Z' && pc!=' ' && pc!='\0' && *p) || (c==':' && pc!=':') || (pc=='.' && isId(c)))
)
{
t << "\\+";