From f622af73e1e58370edbeb899fb78ddd98277d06b Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 14 Jun 2001 23:23:04 +0000 Subject: [PATCH] ICU-986 Fixed AIX compiler error X-SVN-Rev: 5006 --- icu4c/source/i18n/choicfmt.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/icu4c/source/i18n/choicfmt.cpp b/icu4c/source/i18n/choicfmt.cpp index f03441f635..37d17dfbaa 100644 --- a/icu4c/source/i18n/choicfmt.cpp +++ b/icu4c/source/i18n/choicfmt.cpp @@ -430,7 +430,11 @@ ChoiceFormat::toPattern(UnicodeString& result) const } else { result += dtos(fChoiceLimits[i], buf, status); } - result += fClosures[i] ? LESS_THAN : LESS_EQUAL; + if (fClosures[i]) { + result += LESS_THAN; + } else { + result += LESS_EQUAL; + } // Append fChoiceFormats[i], using quotes if there are special // characters. Single quotes themselves must be escaped in // either case.