Hadrien Boizard : msvcrt: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue May 31 10:42:51 CDT 2016


Module: wine
Branch: master
Commit: 39037a14e841e31b4fc426d6381180f074336902
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=39037a14e841e31b4fc426d6381180f074336902

Author: Hadrien Boizard <h.boizard at laposte.net>
Date:   Wed May 25 21:50:55 2016 +0200

msvcrt: Use BOOL type where appropriate.

Signed-off-by: Hadrien Boizard <h.boizard at laposte.net>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/mbcs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c
index 3e71c91..d307399 100644
--- a/dlls/msvcrt/mbcs.c
+++ b/dlls/msvcrt/mbcs.c
@@ -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));




More information about the wine-cvs mailing list