[Doxygen-develop] Localization problems
Brought to you by:
dimitri
From: <ca...@cr...> - 2003-11-08 13:45:49
|
Hi, Dimitri. On Windows isupper define is not work correctly (crash on Debug, = invalid results on Release). Incorrect: isupper(c) Correct: QChar(c).category()=3D=3DQChar::Letter_Uppercase Index: src/definition.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /u/kp3softd/cvsroot/src/definition.cpp,v retrieving revision 1.71 diff -u -r1.71 definition.cpp --- src/definition.cpp 5 Oct 2003 12:34:04 -0000 1.71 +++ src/definition.cpp 8 Nov 2003 13:40:39 -0000 @@ -219,7 +219,7 @@ { case '.': case '!': case '?': break; default:=20 - if (isupper(m_brief.at(0))) m_brief+=3D'.';=20 + if = (QChar(m_brief.at(0)).category()=3D=3DQChar::Letter_Uppercase) = m_brief+=3D'.'; break; } } |