mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
The c++ bool is 1 byte, not 4. Thanks Thomas
svn path=/trunk/; revision=69650
This commit is contained in:
parent
6ed09fb64b
commit
44f11315a4
2 changed files with 3 additions and 3 deletions
|
@ -786,7 +786,7 @@ CDeviceManager::MainWndProc(_In_ HWND hwnd,
|
|||
// we set a timer to run in 500ms, which should leave enough time for all
|
||||
// the messages to come through. Wrap so we don't set multiple timers
|
||||
//
|
||||
if (InterlockedCompareExchange((LONG *)&This->m_RefreshPending, true, false) == false)
|
||||
if (InterlockedCompareExchange((LONG *)&This->m_RefreshPending, TRUE, FALSE) == FALSE)
|
||||
{
|
||||
SetTimer(hwnd, REFRESH_TIMER, 500, NULL);
|
||||
}
|
||||
|
@ -807,7 +807,7 @@ CDeviceManager::MainWndProc(_In_ HWND hwnd,
|
|||
KillTimer(hwnd, REFRESH_TIMER);
|
||||
|
||||
// Allow more change notifications
|
||||
InterlockedExchange((LONG *)&This->m_RefreshPending, false);
|
||||
InterlockedExchange((LONG *)&This->m_RefreshPending, FALSE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ class CDeviceManager
|
|||
HMENU m_hMenu;
|
||||
HMENU m_hActionMenu;
|
||||
int m_CmdShow;
|
||||
bool m_RefreshPending;
|
||||
BOOL m_RefreshPending;
|
||||
|
||||
public:
|
||||
CDeviceManager(void);
|
||||
|
|
Loading…
Reference in a new issue