Commit 5fd54997 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

regsvr32: Use BOOL type where appropriate.

parent bb2be173
...@@ -60,7 +60,7 @@ typedef HRESULT (*DLLREGISTER) (void); ...@@ -60,7 +60,7 @@ typedef HRESULT (*DLLREGISTER) (void);
typedef HRESULT (*DLLUNREGISTER) (void); typedef HRESULT (*DLLUNREGISTER) (void);
typedef HRESULT (*DLLINSTALL) (BOOL,LPCWSTR); typedef HRESULT (*DLLINSTALL) (BOOL,LPCWSTR);
int Silent = 0; static BOOL Silent = FALSE;
static int Usage(void) static int Usage(void)
{ {
...@@ -206,7 +206,7 @@ int main(int argc, char* argv[]) ...@@ -206,7 +206,7 @@ int main(int argc, char* argv[])
if ((!strcasecmp(argv[i], "/u")) ||(!strcasecmp(argv[i], "-u"))) if ((!strcasecmp(argv[i], "/u")) ||(!strcasecmp(argv[i], "-u")))
Unregister = TRUE; Unregister = TRUE;
else if ((!strcasecmp(argv[i], "/s"))||(!strcasecmp(argv[i], "-s"))) 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")))) else if ((!strncasecmp(argv[i], "/i", strlen("/i")))||(!strncasecmp(argv[i], "-i", strlen("-i"))))
{ {
CHAR* command_line = argv[i] + strlen("/i"); CHAR* command_line = argv[i] + strlen("/i");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment