Commit 39037a14 authored by Hadrien Boizard's avatar Hadrien Boizard Committed by Alexandre Julliard

msvcrt: Use BOOL type where appropriate.

parent 65893a71
...@@ -664,7 +664,7 @@ int CDECL _mbsnbcpy_s_l(unsigned char* dst, MSVCRT_size_t size, ...@@ -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 ...@@ -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));
......
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