mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[BROWSEUI] Fix MSVC compilation warning C4805
internettoolbar.cpp(714): warning C4805: '!=': unsafe mix of type 'bool' and type 'BOOL' in operation
This commit is contained in:
parent
c9c6902f08
commit
64f40e7f30
1 changed files with 2 additions and 2 deletions
|
@ -711,9 +711,9 @@ HRESULT CInternetToolbar::CreateMenuBar(IShellMenu **pMenuBar)
|
|||
|
||||
HRESULT CInternetToolbar::LockUnlockToolbars(bool locked)
|
||||
{
|
||||
if (locked != pSettings->fLocked)
|
||||
if (locked != !!pSettings->fLocked)
|
||||
{
|
||||
pSettings->fLocked = locked;
|
||||
pSettings->fLocked = (BOOL)locked;
|
||||
pSettings->Save();
|
||||
RefreshLockedToolbarState();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue