diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2007-11-21 12:29:46 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2007-11-21 12:29:46 +0000 |
commit | 952d69f85d43b087ce9fa79d3fc6f1c076000bc7 (patch) | |
tree | dd6937a6486e80e1638618308481075efab000ae /Build/source/libs/icu-xetex/common/uidna.cpp | |
parent | 888236cb9df7b7d7b5a3e2d784037a9a59511c53 (diff) |
updated icu-xetex library for XeTeX 0.997
git-svn-id: svn://tug.org/texlive/trunk@5536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu-xetex/common/uidna.cpp')
-rw-r--r-- | Build/source/libs/icu-xetex/common/uidna.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/Build/source/libs/icu-xetex/common/uidna.cpp b/Build/source/libs/icu-xetex/common/uidna.cpp index b5bf9a5107e..4a6b329ce52 100644 --- a/Build/source/libs/icu-xetex/common/uidna.cpp +++ b/Build/source/libs/icu-xetex/common/uidna.cpp @@ -1,7 +1,7 @@ /* ******************************************************************************* * - * Copyright (C) 2003-2005, International Business Machines + * Copyright (C) 2003-2006, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -66,12 +66,6 @@ startsWithPrefix(const UChar* src , int32_t srcLength){ return startsWithPrefix; } -inline static void -toASCIILower(UChar* src, int32_t srcLen){ - for(int32_t i=0; i<srcLen; i++){ - src[i] = toASCIILower(src[i]); - } -} inline static int32_t compareCaseInsensitiveASCII(const UChar* s1, int32_t s1Len, @@ -194,13 +188,6 @@ static inline UBool isLDHChar(UChar ch){ return FALSE; } -// We should add this to utypes.c -#if U_ICU_VERSION_MAJOR_NUM>3 || (U_ICU_VERSION_MAJOR_NUM==3 && U_ICU_VERSION_MINOR_NUM>4) -# error Time bomb: After ICU 3.4 move the definition of utypes.h and fix the TODO in _uIDNAErrorName definition. -#else -# define U_IDNA_ZERO_LENGTH_LABEL_ERROR U_IDNA_ERROR_LIMIT -#endif - static int32_t _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, |