summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/tools/genrb/ustr.c
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
committerJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
commit952d69f85d43b087ce9fa79d3fc6f1c076000bc7 (patch)
treedd6937a6486e80e1638618308481075efab000ae /Build/source/libs/icu-xetex/tools/genrb/ustr.c
parent888236cb9df7b7d7b5a3e2d784037a9a59511c53 (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/tools/genrb/ustr.c')
-rw-r--r--Build/source/libs/icu-xetex/tools/genrb/ustr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/libs/icu-xetex/tools/genrb/ustr.c b/Build/source/libs/icu-xetex/tools/genrb/ustr.c
index 2a35db0b5c7..aafcec54241 100644
--- a/Build/source/libs/icu-xetex/tools/genrb/ustr.c
+++ b/Build/source/libs/icu-xetex/tools/genrb/ustr.c
@@ -1,7 +1,7 @@
/*
*******************************************************************************
*
-* Copyright (C) 1998-2004, International Business Machines
+* Copyright (C) 1998-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@@ -206,7 +206,6 @@ ustr_resize(struct UString *s,
s->fChars = (UChar*) uprv_realloc(s->fChars, sizeof(UChar) * (len + 1));
if(s->fChars == 0) {
*status = U_MEMORY_ALLOCATION_ERROR;
- s->fChars = 0;
s->fLength = s->fCapacity = 0;
return;
}