Piotr Caban : msvcp90: Fix typo in strstreambuf_freeze.

Alexandre Julliard julliard at winehq.org
Thu Jun 12 15:51:42 CDT 2014


Module: wine
Branch: master
Commit: ab0513ef67f33a64627792ed3cb9b9a7d1b55c28
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ab0513ef67f33a64627792ed3cb9b9a7d1b55c28

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Jun 11 12:50:39 2014 +0200

msvcp90: Fix typo in strstreambuf_freeze.

---

 dlls/msvcp60/ios.c |    2 +-
 dlls/msvcp90/ios.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcp60/ios.c b/dlls/msvcp60/ios.c
index b223d10..913086a 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 d8f1e1c..f7cb232 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) {




More information about the wine-cvs mailing list