From 48c1c050e5f11226976fe091fdc01928cabe4c27 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 7 Aug 2007 06:53:10 +0000 Subject: [PATCH] ICU-5791 Partially undo last change. We still need to check for target limits. X-SVN-Rev: 22297 --- icu4c/source/common/ucnv2022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/ucnv2022.c b/icu4c/source/common/ucnv2022.c index 5362398aef1..fa5c48b2d04 100644 --- a/icu4c/source/common/ucnv2022.c +++ b/icu4c/source/common/ucnv2022.c @@ -1694,7 +1694,7 @@ UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC(UConverterToUnicodeArgs *args, targetUniChar =missingCharMarker; - { + if(myTarget < args->targetLimit){ mySourceChar= (unsigned char) *mySource++;