From c753a1da12a3a6a07a0fb0f8b3d82f767c3e05d3 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 8 Jul 2005 17:14:18 +0000 Subject: [PATCH] ICU-4630 NULL terminate string. X-SVN-Rev: 18173 --- icu4c/source/i18n/nfsubs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/nfsubs.h b/icu4c/source/i18n/nfsubs.h index 98f979f9a6..8b4c2509d0 100644 --- a/icu4c/source/i18n/nfsubs.h +++ b/icu4c/source/i18n/nfsubs.h @@ -481,7 +481,7 @@ public: : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator) { ldenominator = util64_fromDouble(denominator); - UChar LTLT[] = { 0x003c, 0x003c }; + UChar LTLT[] = { 0x003c, 0x003c, 0 }; withZeros = description.endsWith(LTLT); }