summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitriy Dorofeev <dima@yasp.com>2020-09-17 18:45:53 (GMT)
committerGitHub <noreply@github.com>2020-09-17 18:45:53 (GMT)
commit58895b1763fbc2d09a180204c831cf204adb5e1c (patch)
treecf7a49d306cc86b252d8d2857a462440c32212ec /src
parent335e9189ece384977bb1a489ee82251b5668aaf0 (diff)
downloadDoxygen-58895b1763fbc2d09a180204c831cf204adb5e1c.zip
Doxygen-58895b1763fbc2d09a180204c831cf204adb5e1c.tar.gz
Doxygen-58895b1763fbc2d09a180204c831cf204adb5e1c.tar.bz2
Fix too aggressive hyphenation of abbr. words. (#8026)
* Fix too aggressive giphenation of abbr. words. * Remove unwanted change at line 2266
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 5d7d8b4..d78c80e 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6297,7 +6297,7 @@ void filterLatexString(FTextStream &t,const char *str,
default:
//if (!insideTabbing && forceBreaks && c!=' ' && *p!=' ')
if (!insideTabbing &&
- ((c>='A' && c<='Z' && pc!=' ' && pc!='\0' && *p) || (c==':' && pc!=':') || (pc=='.' && isId(c)))
+ ((c>='A' && c<='Z' && pc!=' ' && !(pc>='A' && pc <= 'Z') && pc!='\0' && *p) || (c==':' && pc!=':') || (pc=='.' && isId(c)))
)
{
t << "\\+";