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>2012-09-14 09:44:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-14 09:44:47 +0400
commitf6c7a69565153f65e49a0f6421ad04d23cdd946a (patch)
tree0fcc6ce4607949dd0f667111a247516ec3e2228d /source/blender/editors/include
parentb31a88ccf0e06ac9f7efb43e18c2a7b0fcf40ac4 (diff)
code cleanup: correct misleading use of LABEL button type.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/UI_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index ecf0f9f8c2f..c6f58fdd70b 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -196,7 +196,7 @@ typedef enum {
UI_BUT_POIN_BIT = 256 /* OR'd with a bit index*/
} eButPointerType;
-/* button requires a pointer */
+/* requires (but->poin != NULL) */
#define UI_BUT_POIN_TYPES (UI_BUT_POIN_FLOAT | UI_BUT_POIN_SHORT | UI_BUT_POIN_CHAR)
/* assigned to but->type, OR'd with the flags above when passing args */