Commit d20c6cf8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fixed more boolean comparisons against TRUE.

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