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>2011-05-17 10:51:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-17 10:51:31 +0400
commit1294504603dcd538f3900e3d254e37375cde9c35 (patch)
tree7bac25ee02aaf3fe7c6648d38749ddea7005ae45 /source/blender/makesdna
parent085890457106e36881b999d73cede9699a855e6c (diff)
fix for warning
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index d8f254aa187..4cf9f47041b 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -126,8 +126,8 @@ typedef struct Library {
enum eIconSizes {
ICON_SIZE_ICON,
ICON_SIZE_PREVIEW,
- NUM_ICON_SIZES
};
+#define NUM_ICON_SIZES (ICON_SIZE_PREVIEW + 1)
typedef struct PreviewImage {
/* All values of 2 are really NUM_ICON_SIZES */