From 07ea42736fb8b7f3f60e01a2207a60dc7abe50a0 Mon Sep 17 00:00:00 2001 From: "Unknown (aruna1)" <dev-null@apache.org> Date: Thu, 10 Feb 2000 21:28:53 +0000 Subject: [PATCH] Problem solved for converting UChar to XMLCh. This problem showed up on solaris as UChar was != XMLCh git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@171769 13f79535-47bb-0310-9956-ffa450edef68 --- src/util/Transcoders/ICU/ICUTransService.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/Transcoders/ICU/ICUTransService.cpp b/src/util/Transcoders/ICU/ICUTransService.cpp index d6acb3e89..d99c13f8b 100644 --- a/src/util/Transcoders/ICU/ICUTransService.cpp +++ b/src/util/Transcoders/ICU/ICUTransService.cpp @@ -56,6 +56,9 @@ /** * $Log$ + * Revision 1.14 2000/02/10 21:28:53 aruna1 + * Problem solved for converting UChar to XMLCh. This problem showed up on solaris as UChar was != XMLCh + * * Revision 1.13 2000/02/06 07:48:32 rahulj * Year 2K copyright swat. * @@ -160,7 +163,7 @@ static XMLCh* convertToXMLCh(const UChar* const toConvert) XMLCh* outPtr = retBuf; const UChar* srcPtr = toConvert; - while (*srcPtr++) + while (*srcPtr) *outPtr++ = XMLCh(*srcPtr++); *outPtr = 0; -- GitLab