mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 07:30:37 +00:00
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)
|
||||
{
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user