mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 09:08:44 +00:00
regsvr32: Use BOOL type where appropriate.
This commit is contained in:
parent
bb2be17327
commit
5fd54997ba
|
@ -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[])
|
||||||
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");
|
||||||
|
|
Loading…
Reference in a new issue