mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 19:27:17 +00:00
propsys: Use BOOL type where appropriate.
This commit is contained in:
parent
48a6375dfc
commit
0ab0384047
|
@ -315,7 +315,7 @@ static BOOL string_to_guid(LPCWSTR s, LPGUID id)
|
||||||
|
|
||||||
HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
|
HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
|
||||||
{
|
{
|
||||||
int has_minus = 0, has_comma = 0;
|
BOOL has_minus = FALSE, has_comma = FALSE;
|
||||||
|
|
||||||
TRACE("(%s, %p)\n", debugstr_w(pszString), pkey);
|
TRACE("(%s, %p)\n", debugstr_w(pszString), pkey);
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
|
||||||
if (has_comma)
|
if (has_comma)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
else
|
else
|
||||||
has_comma = 1;
|
has_comma = TRUE;
|
||||||
}
|
}
|
||||||
pszString++;
|
pszString++;
|
||||||
}
|
}
|
||||||
|
@ -357,7 +357,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
|
||||||
{
|
{
|
||||||
if (*pszString == '-')
|
if (*pszString == '-')
|
||||||
{
|
{
|
||||||
has_minus = 1;
|
has_minus = TRUE;
|
||||||
pszString++;
|
pszString++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -372,7 +372,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
|
||||||
|
|
||||||
if (*pszString == '-')
|
if (*pszString == '-')
|
||||||
{
|
{
|
||||||
has_minus = 1;
|
has_minus = TRUE;
|
||||||
pszString++;
|
pszString++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue