=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: regsvr32: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue Nov 5 15:02:29 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Nov  5 01:06:04 2013 +0100

regsvr32: Use BOOL type where appropriate.

---

 programs/regsvr32/regsvr32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index ac8760b..3536e93 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -60,7 +60,7 @@ typedef HRESULT (*DLLREGISTER)          (void);
 typedef HRESULT (*DLLUNREGISTER)        (void);
 typedef HRESULT (*DLLINSTALL)           (BOOL,LPCWSTR);
 
-int Silent = 0;
+static BOOL Silent = FALSE;
 
 static int Usage(void)
 {
@@ -206,7 +206,7 @@ int main(int argc, char* argv[])
         if ((!strcasecmp(argv[i], "/u")) ||(!strcasecmp(argv[i], "-u")))
                 Unregister = TRUE;
         else if ((!strcasecmp(argv[i], "/s"))||(!strcasecmp(argv[i], "-s")))
-                Silent = 1;
+                Silent = TRUE;
         else if ((!strncasecmp(argv[i], "/i", strlen("/i")))||(!strncasecmp(argv[i], "-i", strlen("-i"))))
         {
             CHAR* command_line = argv[i] + strlen("/i");




More information about the wine-cvs mailing list