regsvr32: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-11-05 01:06:04 +01:00 committed by Alexandre Julliard
parent bb2be17327
commit 5fd54997ba
1 changed files with 2 additions and 2 deletions

View File

@ -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");