mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
MACGUI: Fix incorrect logical operator usage. PVS-Studio V564
This commit is contained in:
parent
fe21b28b1f
commit
62f067a72c
@ -1089,7 +1089,7 @@ bool MacMenu::draw(ManagedSurface *g, bool forceRedraw) {
|
||||
}
|
||||
}
|
||||
|
||||
if ((_wm->_mode & kWMModalMenuMode) | !_wm->_screen)
|
||||
if ((_wm->_mode & kWMModalMenuMode) || !_wm->_screen)
|
||||
g_system->copyRectToScreen(_screen.getBasePtr(_bbox.left, _bbox.top), _screen.pitch, _bbox.left, _bbox.top, _bbox.width(), _bbox.height());
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user