diff options
Diffstat (limited to 'source/blender/blenlib/BLI_bitmap.h')
-rw-r--r-- | source/blender/blenlib/BLI_bitmap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_bitmap.h b/source/blender/blenlib/BLI_bitmap.h index 61a50662d79..960ce44c58c 100644 --- a/source/blender/blenlib/BLI_bitmap.h +++ b/source/blender/blenlib/BLI_bitmap.h @@ -93,10 +93,12 @@ typedef unsigned int BLI_bitmap; #define BLI_BITMAP_SET(_bitmap, _index, _set) \ { \ CHECK_TYPE(_bitmap, BLI_bitmap *); \ - if (_set) \ + if (_set) { \ BLI_BITMAP_ENABLE(_bitmap, _index); \ - else \ + } \ + else { \ BLI_BITMAP_DISABLE(_bitmap, _index); \ + } \ } \ (void)0 |