msvcp90: Fix return value for ctype<wchar_t> do_is(ch).
This commit is contained in:
parent
5a3695ccee
commit
4654b3f68e
|
@ -2339,7 +2339,7 @@ DEFINE_THISCALL_WRAPPER(ctype_wchar_do_is_ch, 12)
|
||||||
MSVCP_bool __thiscall ctype_wchar_do_is_ch(const ctype_wchar *this, short mask, wchar_t ch)
|
MSVCP_bool __thiscall ctype_wchar_do_is_ch(const ctype_wchar *this, short mask, wchar_t ch)
|
||||||
{
|
{
|
||||||
TRACE("(%p %x %d)\n", this, mask, ch);
|
TRACE("(%p %x %d)\n", this, mask, ch);
|
||||||
return !(_Getwctype(ch, &this->ctype) & mask);
|
return (_Getwctype(ch, &this->ctype) & mask) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ?do_is@?$ctype@_W@std@@MBEPB_WPB_W0PAF@Z */
|
/* ?do_is@?$ctype@_W@std@@MBEPB_WPB_W0PAF@Z */
|
||||||
|
|
Loading…
Reference in New Issue