change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.

This commit is contained in:
2012-12-02 04:51:15 +00:00
parent 9865ee7637
commit f7f4148b40
8 changed files with 26 additions and 17 deletions

View File

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