You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2004/02/05 22:37:06 UTC
cvs commit: xml-xalan/c/src/xalanc/XMLSupport FormatterToXML_UTF8.cpp
dbertoni 2004/02/05 13:37:06
Modified: c/src/xalanc/XMLSupport FormatterToXML_UTF8.cpp
Log:
Fixed bit masking bug.
Revision Changes Path
1.8 +1 -1 xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML_UTF8.cpp
Index: FormatterToXML_UTF8.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XMLSupport/FormatterToXML_UTF8.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- FormatterToXML_UTF8.cpp 6 Jan 2004 02:41:31 -0000 1.7
+++ FormatterToXML_UTF8.cpp 5 Feb 2004 21:37:06 -0000 1.8
@@ -161,7 +161,7 @@
inline char
bits13to18(unsigned int theChar)
{
- return char((theChar >> 12) & 0x1F);
+ return char((theChar >> 12) & 0x3F);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org