From 82106042f4663b4440af7e08272123eb691c8605 Mon Sep 17 00:00:00 2001 From: "Unknown (roddey)" <dev-null@apache.org> Date: Mon, 24 Jan 2000 20:39:47 +0000 Subject: [PATCH] Fixed a bug introduced in the recent move to always have XMLCh be the same as wchar_t. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@171639 13f79535-47bb-0310-9956-ffa450edef68 --- src/util/Transcoders/ICU/ICUTransService.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/util/Transcoders/ICU/ICUTransService.cpp b/src/util/Transcoders/ICU/ICUTransService.cpp index f0c72855f..dd45f8f28 100644 --- a/src/util/Transcoders/ICU/ICUTransService.cpp +++ b/src/util/Transcoders/ICU/ICUTransService.cpp @@ -56,6 +56,10 @@ /** * $Log$ + * Revision 1.10 2000/01/24 20:39:47 roddey + * Fixed a bug introduced in the recent move to always have XMLCh be + * the same as wchar_t. + * * Revision 1.9 2000/01/21 23:59:06 roddey * Added code to deal with system configurations where XMLCh is not * the same size as ICU's UChar. @@ -853,7 +857,7 @@ bool ICULCPTranscoder::transcode(const char* const toTranscode } // If the sizes are not the same, then copy the data over - if (sizeof(XMLCh) == sizeof(UChar)) + if (sizeof(XMLCh) != sizeof(UChar)) { UChar* srcPtr = targetBuf; XMLCh* outPtr = toFill; -- GitLab