You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2005/02/14 16:23:29 UTC

cvs commit: xml-xerces/c/src/xercesc/util/Transcoders/MacOSUnicodeConverter MacOSUnicodeConverter.cpp

jberry      2005/02/14 07:23:29

  Modified:    c/src/xercesc/util/Transcoders/MacOSUnicodeConverter
                        MacOSUnicodeConverter.cpp
  Log:
  Fix spelling of fgMacLCPEncodingName. Thanks Stefan Letz. Bug XERCESC-1342. Also, change existence test for unicode collator to UCCompareText.
  
  Revision  Changes    Path
  1.26      +4 -4      xml-xerces/c/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp
  
  Index: MacOSUnicodeConverter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- MacOSUnicodeConverter.cpp	11 Feb 2005 22:42:25 -0000	1.25
  +++ MacOSUnicodeConverter.cpp	14 Feb 2005 15:23:29 -0000	1.26
  @@ -84,8 +84,8 @@
   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 @@
     : 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)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org