diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-02 08:51:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-02 08:51:15 +0400 |
commit | f7f4148b4004c225a30bb80794094b574fbea744 (patch) | |
tree | d8ede9dbd62d0558a303c0d0634b8efd1f0a95ae /source/blender/editors/include | |
parent | 9865ee7637cd58622329c7dbe05c78bc4fe65308 (diff) |
change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
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 f5c943fbb87..12db9b93772 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -542,7 +542,7 @@ typedef struct uiStringInfo { /* Note: Expects pointers to uiStringInfo structs as parameters. * Will fill them with translated strings, when possible. * Strings in uiStringInfo must be MEM_freeN'ed by caller. */ -void uiButGetStrInfo(struct bContext *C, uiBut *but, int nbr, ...); +void uiButGetStrInfo(struct bContext *C, uiBut *but, ...); /* Edit i18n stuff. */ /* Name of the main py op from i18n addon. */ |