mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
ands to ors
This commit is contained in:
parent
ccc2bd8667
commit
3e14b41600
@ -149,10 +149,10 @@ bool Utils::IsValidAlignment(const uint32_t alignment) {
|
|||||||
case OBS_ALIGN_RIGHT:
|
case OBS_ALIGN_RIGHT:
|
||||||
case OBS_ALIGN_TOP:
|
case OBS_ALIGN_TOP:
|
||||||
case OBS_ALIGN_BOTTOM:
|
case OBS_ALIGN_BOTTOM:
|
||||||
case (OBS_ALIGN_TOP & OBS_ALIGN_LEFT):
|
case OBS_ALIGN_TOP | OBS_ALIGN_LEFT:
|
||||||
case (OBS_ALIGN_TOP & OBS_ALIGN_RIGHT):
|
case OBS_ALIGN_TOP | OBS_ALIGN_RIGHT:
|
||||||
case (OBS_ALIGN_BOTTOM & OBS_ALIGN_LEFT):
|
case OBS_ALIGN_BOTTOM | OBS_ALIGN_LEFT:
|
||||||
case (OBS_ALIGN_BOTTOM & OBS_ALIGN_RIGHT): {
|
case OBS_ALIGN_BOTTOM | OBS_ALIGN_RIGHT: {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user