mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-66 Fixed a possible problem when state is a boolean, but not == TRUE
X-SVN-Rev: 3647
This commit is contained in:
parent
da118a5ad2
commit
8947e594c3
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue