diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-17 10:51:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-17 10:51:31 +0400 |
commit | 1294504603dcd538f3900e3d254e37375cde9c35 (patch) | |
tree | 7bac25ee02aaf3fe7c6648d38749ddea7005ae45 /source/blender/makesdna/DNA_ID.h | |
parent | 085890457106e36881b999d73cede9699a855e6c (diff) |
fix for warning
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 2 |
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 */ |