=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: mlang: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Mon Oct 7 14:17:11 CDT 2013
Module: wine
Branch: master
Commit: 2042a6598c264e6994f3c4824d5db665814a8a2a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2042a6598c264e6994f3c4824d5db665814a8a2a
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Fri Oct 4 23:32:14 2013 +0200
mlang: Use BOOL type where appropriate.
---
dlls/mlang/mlang.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index d28f811..96ccbf7 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -574,8 +574,8 @@ static inline void sjis2jis(unsigned char *p1, unsigned char *p2)
static int han2zen(unsigned char *p1, unsigned char *p2)
{
- int maru = FALSE;
- int nigori = FALSE;
+ BOOL maru = FALSE;
+ BOOL nigori = FALSE;
static const unsigned char char1[] = {129,129,129,129,129,131,131,131,131,
131,131,131,131,131,131,129,131,131,131,131,131,131,131,131,131,131,
131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,
@@ -622,7 +622,7 @@ static UINT ConvertJIS2SJIS(LPCSTR input, DWORD count, LPSTR output)
DWORD i = 0;
int j = 0;
unsigned char p2,p;
- int shifted = FALSE;
+ BOOL shifted = FALSE;
while (i < count)
{
@@ -690,7 +690,7 @@ static UINT ConvertSJIS2JIS(LPCSTR input, DWORD count, LPSTR output)
DWORD i = 0;
int j = 0;
unsigned char p2,p;
- int shifted = FALSE;
+ BOOL shifted = FALSE;
while (i < count)
{
More information about the wine-cvs
mailing list