diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-06-23 21:12:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-06-23 21:12:45 (GMT) |
commit | d497898d92c2d2e3495505095563f07549dc2201 (patch) | |
tree | 4786c7f47c0280d74828ce09dd0a0f1bf1bcdea6 /src/definition.cpp | |
parent | f160c0c8c0545b1f397fbc7892bf9f71995cf790 (diff) | |
download | Doxygen-d497898d92c2d2e3495505095563f07549dc2201.zip Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.gz Doxygen-d497898d92c2d2e3495505095563f07549dc2201.tar.bz2 |
Release-1.4.3-20050623
Diffstat (limited to 'src/definition.cpp')
-rw-r--r-- | src/definition.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 381159b..9b0ee16 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -227,10 +227,15 @@ void Definition::setDocumentation(const char *d,const char *docFile,int docLine, void Definition::setBriefDescription(const char *b,const char *briefFile,int briefLine) { if (b==0) return; + static QCString outputLanguage = Config_getEnum("OUTPUT_LANGUAGE"); + static bool needsDot = outputLanguage!="Japanese" && + outputLanguage!="Chinese" && + outputLanguage!="Korean"; + //fprintf(stderr,"Definition::setBriefDescription(%s,%s,%d)\n",b,briefFile,briefLine); m_brief=QCString(b).stripWhiteSpace(); int bl=m_brief.length(); - if (bl>0) // add punctuation if needed + if (bl>0 && needsDot) // add punctuation if needed { switch(m_brief.at(bl-1)) { |