From cd2389ef4edf1661bc7af34880dabd5e8ab766f3 Mon Sep 17 00:00:00 2001
From: James David Berry <jberry@apache.org>
Date: Mon, 14 Feb 2005 15:23:29 +0000
Subject: [PATCH] Fix spelling of fgMacLCPEncodingName. Thanks Stefan Letz. Bug
 XERCESC-1342. Also, change existence test for unicode collator to
 UCCompareText.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176308 13f79535-47bb-0310-9956-ffa450edef68
---
 .../MacOSUnicodeConverter/MacOSUnicodeConverter.cpp         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp b/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp
index 900e720c0..559cc1b5d 100644
--- a/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp
+++ b/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp
@@ -84,8 +84,8 @@ const XMLCh MacOSUnicodeConverter::fgMyServiceId[] =
 const XMLCh MacOSUnicodeConverter::fgMacLCPEncodingName[] =
 {
         chLatin_M, chLatin_a, chLatin_c, chLatin_O, chLatin_S, chLatin_L
-    ,   chLatin_C, chLatin_P, chLatin_E, chLatin_c, chLatin_o, chLatin_d
-    ,   chLatin_i, chLatin_n, chLatin_g,  chNull
+    ,   chLatin_C, chLatin_P, chLatin_E, chLatin_n, chLatin_c, chLatin_o
+    ,   chLatin_d, chLatin_i, chLatin_n, chLatin_g, chNull
 };
 
 
@@ -97,7 +97,7 @@ MacOSUnicodeConverter::MacOSUnicodeConverter()
   : fCollator(NULL)
 {
 	//	Test for presense of unicode collation functions
-	fHasUnicodeCollation = (UCCompareTextDefault != (void*)kUnresolvedCFragSymbolAddress);
+	fHasUnicodeCollation = (UCCompareText != (void*)kUnresolvedCFragSymbolAddress);
     
     //  Create a unicode collator for doing string comparisons
     if (fHasUnicodeCollation)
-- 
GitLab