diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-04 20:16:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-04 20:16:09 +0300 |
commit | c7b9ae310b361cdc8a444fe75b8137ec1f586d79 (patch) | |
tree | 36d444e77478462ca0cb951bd5d981471600b9f5 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 6f32f0ea272bfa848488fa4c3082c9054aa0e09f (diff) |
Cleanup: correct UI_THEMESPACE_START/END macros
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 8eabbc0df0d..bee4bec5faf 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -465,8 +465,10 @@ typedef struct bTheme { char _pad0[4]; } bTheme; -#define UI_THEMESPACE_START(btheme) (CHECK_TYPE_INLINE(btheme, bTheme *), &((btheme)->tbuts)) -#define UI_THEMESPACE_END(btheme) (CHECK_TYPE_INLINE(btheme, bTheme *), (&((btheme)->tclip) + 1)) +#define UI_THEMESPACE_START(btheme) \ + (CHECK_TYPE_INLINE(btheme, bTheme *), &((btheme)->space_properties)) +#define UI_THEMESPACE_END(btheme) \ + (CHECK_TYPE_INLINE(btheme, bTheme *), (&((btheme)->space_statusbar) + 1)) typedef struct bAddon { struct bAddon *next, *prev; |