summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-10-21 18:02:53 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-10-21 18:02:53 (GMT)
commit883b84589e5a6108dacb9f3df9f7a41369940ca5 (patch)
treef5aef68ee03709376658e93142ca5df6850e649d /src/latexgen.cpp
parent3c05bde563408b446333fb435b443d69903b156f (diff)
downloadDoxygen-883b84589e5a6108dacb9f3df9f7a41369940ca5.zip
Doxygen-883b84589e5a6108dacb9f3df9f7a41369940ca5.tar.gz
Doxygen-883b84589e5a6108dacb9f3df9f7a41369940ca5.tar.bz2
Release-1.2.11-20011021
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 1e42ee8..7b2b2bb 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -1265,6 +1265,7 @@ void LatexGenerator::docify(const char *str)
static bool isKorean = theTranslator->idLanguage()=="korean";
static bool isRussian = theTranslator->idLanguage()=="russian";
static bool isUkrainian = theTranslator->idLanguage()=="ukrainian";
+ static bool isChinese = theTranslator->idLanguage()=="chinese";
if (str)
{
const unsigned char *p=(const unsigned char *)str;
@@ -1329,9 +1330,9 @@ void LatexGenerator::docify(const char *str)
break;
default:
-
- if (isJapanese || isKorean)
- { // Japanese language uses wide characters
+ // Some languages uses wide characters
+ if (isJapanese || isKorean || isChinese)
+ {
if (c>=128)
{
t << (char)c;