diff --git a/dlls/msvcp60/ios.c b/dlls/msvcp60/ios.c index b223d107c1c..913086a65e3 100644 --- a/dlls/msvcp60/ios.c +++ b/dlls/msvcp60/ios.c @@ -11586,7 +11586,7 @@ void __thiscall strstreambuf_freeze(strstreambuf *this, MSVCP_bool freeze) { TRACE("(%p %d)\n", this, freeze); - if(!freeze == !(this->strmode *STRSTATE_Frozen)) + if(!freeze == !(this->strmode & STRSTATE_Frozen)) return; if(freeze) { diff --git a/dlls/msvcp90/ios.c b/dlls/msvcp90/ios.c index d8f1e1c0738..f7cb23200a4 100644 --- a/dlls/msvcp90/ios.c +++ b/dlls/msvcp90/ios.c @@ -13241,7 +13241,7 @@ void __thiscall strstreambuf_freeze(strstreambuf *this, MSVCP_bool freeze) { TRACE("(%p %d)\n", this, freeze); - if(!freeze == !(this->strmode *STRSTATE_Frozen)) + if(!freeze == !(this->strmode & STRSTATE_Frozen)) return; if(freeze) {