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:
Hadrien Boizard 2016-05-25 21:50:55 +02:00 committed by Alexandre Julliard
parent 65893a7142
commit 39037a14e8
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ int CDECL _mbsnbcpy_s_l(unsigned char* dst, MSVCRT_size_t size,
if((locale ? locale->mbcinfo : get_mbcinfo())->ismbcodepage)
{
int is_lead = 0;
BOOL is_lead = FALSE;
while (*src && n)
{
if(pos == size)
@ -745,7 +745,7 @@ unsigned char* CDECL _mbsnbcpy(unsigned char* dst, const unsigned char* src, MSV
return dst;
if(get_mbcinfo()->ismbcodepage)
{
int is_lead = 0;
BOOL is_lead = FALSE;
while (*src && n)
{
is_lead = (!is_lead && _ismbblead(*src));