diff options
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/tracker.cxx | 6 | ||||
-rw-r--r-- | embedserv/source/inprocserv/dllentry.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/embedserv/source/embed/tracker.cxx b/embedserv/source/embed/tracker.cxx index c17655e45866..a4cd899b6de1 100644 --- a/embedserv/source/embed/tracker.cxx +++ b/embedserv/source/embed/tracker.cxx @@ -254,7 +254,7 @@ void Tracker::Construct() static const WCHAR szWindows[] = L"windows"; static const WCHAR szInplaceBorderWidth[] = L"oleinplaceborderwidth"; afxHandleSize = GetProfileIntW(szWindows, szInplaceBorderWidth, 4); - bInitialized = TRUE; + bInitialized = true; afxCursors[0] = afxCursors[2] = LoadCursor(nullptr,IDC_SIZENWSE); afxCursors[4] = afxCursors[6] = LoadCursor(nullptr,IDC_SIZENS); @@ -385,7 +385,7 @@ BOOL Tracker::TrackHandle(int nHandle,HWND hWnd,POINT point,HWND hWndClipTo) } RECT rectOld; - bool bMoved = FALSE; + bool bMoved = false; // get messages until capture lost or cancelled/accepted for (;;) @@ -428,7 +428,7 @@ BOOL Tracker::TrackHandle(int nHandle,HWND hWnd,POINT point,HWND hWndClipTo) } OnChangedRect(rectOld); if (msg.message != WM_LBUTTONUP) - bMoved = TRUE; + bMoved = true; } if (m_bFinalErase) goto ExitLoop; diff --git a/embedserv/source/inprocserv/dllentry.cxx b/embedserv/source/inprocserv/dllentry.cxx index 9e0c40601226..f5e46e12fbe2 100644 --- a/embedserv/source/inprocserv/dllentry.cxx +++ b/embedserv/source/inprocserv/dllentry.cxx @@ -100,13 +100,13 @@ namespace { int nGuidLen = GetStringFromClassID( *guidList[nInd], &pSubKey[23], 38 ); - bool bLocalSuccess = FALSE; + bool bLocalSuccess = false; if ( nGuidLen == 38 ) { if ( ERROR_SUCCESS == RegOpenKeyW( HKEY_LOCAL_MACHINE, pSubKey, &hKey ) ) { if ( ERROR_SUCCESS == RegSetValueExW( hKey, L"", 0, REG_SZ, reinterpret_cast<const BYTE*>(pLibrary), nLen*sizeof(wchar_t) ) ) - bLocalSuccess = TRUE; + bLocalSuccess = true; } if ( hKey ) |