Fixed more boolean comparisons against TRUE.
This commit is contained in:
parent
4def9cc022
commit
d20c6cf8ca
|
@ -2883,7 +2883,7 @@ BOOL WINAPI GetCharABCWidthsFloatW( HDC hdc, UINT first, UINT last, LPABCFLOAT a
|
||||||
if (!abc) return FALSE;
|
if (!abc) return FALSE;
|
||||||
|
|
||||||
ret = GetCharABCWidthsW( hdc, first, last, abc );
|
ret = GetCharABCWidthsW( hdc, first, last, abc );
|
||||||
if (ret == TRUE)
|
if (ret)
|
||||||
{
|
{
|
||||||
for (i = first; i <= last; i++, abc++, abcf++)
|
for (i = first; i <= last; i++, abc++, abcf++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -716,7 +716,7 @@ static void mark_progid_for_install( MSIPACKAGE* package, MSIPROGID *progid )
|
||||||
if (!progid)
|
if (!progid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (progid->InstallMe == TRUE)
|
if (progid->InstallMe)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
progid->InstallMe = TRUE;
|
progid->InstallMe = TRUE;
|
||||||
|
|
|
@ -1379,7 +1379,7 @@ static HRESULT SendFilterMessage(IMediaControl *iface, fnFoundFilter FoundFilter
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (source == TRUE)
|
if (source)
|
||||||
{
|
{
|
||||||
TRACE("Found a source filter %p\n", pfilter);
|
TRACE("Found a source filter %p\n", pfilter);
|
||||||
IEnumPins_Reset(pEnum);
|
IEnumPins_Reset(pEnum);
|
||||||
|
|
|
@ -2235,7 +2235,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
|
||||||
|
|
||||||
switch(nmsg) {
|
switch(nmsg) {
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
if (Globals.saveSettings == TRUE)
|
if (Globals.saveSettings)
|
||||||
save_registry_settings();
|
save_registry_settings();
|
||||||
|
|
||||||
DestroyWindow(hwnd);
|
DestroyWindow(hwnd);
|
||||||
|
@ -2396,7 +2396,7 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
|
||||||
case ID_VIEW_SAVESETTINGS:
|
case ID_VIEW_SAVESETTINGS:
|
||||||
Globals.saveSettings = !Globals.saveSettings;
|
Globals.saveSettings = !Globals.saveSettings;
|
||||||
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS,
|
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS,
|
||||||
Globals.saveSettings == TRUE ? MF_CHECKED : MF_UNCHECKED );
|
Globals.saveSettings ? MF_CHECKED : MF_UNCHECKED );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_EXECUTE: {
|
case ID_EXECUTE: {
|
||||||
|
|
Loading…
Reference in New Issue