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>2020-05-07 04:15:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-07 04:15:32 +0300
commit1dced6d814dd872620a005dc1a48b47e8a92a6e1 (patch)
treef0d20ccbf7e3a00f6ab675330c14e5974b21fd83 /source/blender/makesdna
parent5cb143cc4c7918c3640f670983ee0249398417fd (diff)
Cleanup: use eSpace_Type in switch statements
Use eSpace_Type in cases where it's likely newly added spaces should be handled.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index c1bfbe8a8b2..8f4f066efbb 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1720,7 +1720,7 @@ typedef enum eSpace_Type {
SPACE_TOPBAR = 21,
SPACE_STATUSBAR = 22,
- SPACE_TYPE_LAST = SPACE_STATUSBAR,
+#define SPACE_TYPE_LAST SPACE_STATUSBAR
} eSpace_Type;
/* use for function args */