Commit 4654b3f6 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

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

parent 5a3695cc
...@@ -2339,7 +2339,7 @@ DEFINE_THISCALL_WRAPPER(ctype_wchar_do_is_ch, 12) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment