From 8947e594c3894bba2e6ede775bdb646702837e50 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 16 Feb 2001 21:45:31 +0000 Subject: [PATCH] ICU-66 Fixed a possible problem when state is a boolean, but not == TRUE X-SVN-Rev: 3647 --- icu4c/source/common/uresbund.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/uresbund.c b/icu4c/source/common/uresbund.c index 1d24a01bb23..db474d0fc31 100644 --- a/icu4c/source/common/uresbund.c +++ b/icu4c/source/common/uresbund.c @@ -1042,7 +1042,7 @@ U_CAPI UResourceBundle* U_EXPORT2 ures_openU(const UChar* myPath, } U_CAPI void ures_setIsStackObject( UResourceBundle* resB, UBool state) { - if(state == TRUE) { + if(state) { resB->fMagic1 = 0; resB->fMagic2 = 0; } else {