ICU-66 Fixed a possible problem when state is a boolean, but not == TRUE

X-SVN-Rev: 3647
This commit is contained in:
George Rhoten 2001-02-16 21:45:31 +00:00
parent da118a5ad2
commit 8947e594c3

View file

@ -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 {