Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-04 20:16:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-04 20:16:09 +0300
commitc7b9ae310b361cdc8a444fe75b8137ec1f586d79 (patch)
tree36d444e77478462ca0cb951bd5d981471600b9f5 /source/blender/makesdna
parent6f32f0ea272bfa848488fa4c3082c9054aa0e09f (diff)
Cleanup: correct UI_THEMESPACE_START/END macros
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h6
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;