change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user