msvcp90: Fix return value for ctype<wchar_t> do_is(ch).

This commit is contained in:
Daniel Lehman 2012-01-05 14:49:50 -08:00 committed by Alexandre Julliard
parent 5a3695ccee
commit 4654b3f68e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
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 */