code cleanup: correct misleading use of LABEL button type.

This commit is contained in:
2012-09-14 05:44:47 +00:00
parent b31a88ccf0
commit f6c7a69565
3 changed files with 20 additions and 14 deletions

View File

@@ -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 */