diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-01 22:11:38 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-01 22:30:30 +0300 |
commit | 8e88af99348590e9879dcbfe97bbbc180fc5ec67 (patch) | |
tree | 7617d5d1398c457752fd0185b9f1a243fbdd872e /intern | |
parent | 8322a4f6b76960cb4983f8aaf5a74e694aed1384 (diff) |
Fix wrong object mode checking in snap code
The value of `OB_MODE_OBJECT` is 0, this makes it unsuitable as a bitflag.
Issue pointed out at https://pvs-studio.com/en/blog/posts/cpp/0922/
Thanks to Andrey Karpov
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions