msvcp90: Fix ios_base_setf implementation.
This commit is contained in:
parent
12cfebb683
commit
47f4e08a93
|
@ -4494,7 +4494,12 @@ IOSB_fmtflags __thiscall ios_base_setf_mask(ios_base *this, IOSB_fmtflags flags,
|
|||
DEFINE_THISCALL_WRAPPER(ios_base_setf, 8)
|
||||
IOSB_fmtflags __thiscall ios_base_setf(ios_base *this, IOSB_fmtflags flags)
|
||||
{
|
||||
return ios_base_setf_mask(this, flags, ~0);
|
||||
IOSB_fmtflags ret = this->fmtfl;
|
||||
|
||||
TRACE("(%p %x)\n", this, flags);
|
||||
|
||||
this->fmtfl |= flags & FMTFLAG_mask;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* ?setstate@ios_base@std@@QAEXH_N@Z */
|
||||
|
|
|
@ -5165,7 +5165,12 @@ IOSB_fmtflags __thiscall ios_base_setf_mask(ios_base *this, IOSB_fmtflags flags,
|
|||
DEFINE_THISCALL_WRAPPER(ios_base_setf, 8)
|
||||
IOSB_fmtflags __thiscall ios_base_setf(ios_base *this, IOSB_fmtflags flags)
|
||||
{
|
||||
return ios_base_setf_mask(this, flags, ~0);
|
||||
IOSB_fmtflags ret = this->fmtfl;
|
||||
|
||||
TRACE("(%p %x)\n", this, flags);
|
||||
|
||||
this->fmtfl |= flags & FMTFLAG_mask;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* ?setstate@ios_base@std@@QAEXH_N@Z */
|
||||
|
|
Loading…
Reference in New Issue