msvcrt: Use BOOL type where appropriate.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
65893a7142
commit
39037a14e8
|
@ -664,7 +664,7 @@ int CDECL _mbsnbcpy_s_l(unsigned char* dst, MSVCRT_size_t size,
|
||||||
|
|
||||||
if((locale ? locale->mbcinfo : get_mbcinfo())->ismbcodepage)
|
if((locale ? locale->mbcinfo : get_mbcinfo())->ismbcodepage)
|
||||||
{
|
{
|
||||||
int is_lead = 0;
|
BOOL is_lead = FALSE;
|
||||||
while (*src && n)
|
while (*src && n)
|
||||||
{
|
{
|
||||||
if(pos == size)
|
if(pos == size)
|
||||||
|
@ -745,7 +745,7 @@ unsigned char* CDECL _mbsnbcpy(unsigned char* dst, const unsigned char* src, MSV
|
||||||
return dst;
|
return dst;
|
||||||
if(get_mbcinfo()->ismbcodepage)
|
if(get_mbcinfo()->ismbcodepage)
|
||||||
{
|
{
|
||||||
int is_lead = 0;
|
BOOL is_lead = FALSE;
|
||||||
while (*src && n)
|
while (*src && n)
|
||||||
{
|
{
|
||||||
is_lead = (!is_lead && _ismbblead(*src));
|
is_lead = (!is_lead && _ismbblead(*src));
|
||||||
|
|
Loading…
Reference in New Issue