diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-04 17:01:54 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-04 17:01:54 +0300 |
commit | 4bb531475490c36c57065fb3db3d41974fb14897 (patch) | |
tree | 78a7190cdcbac327d57962dfb783c206b23f9d6d /source/blender/editors/interface/interface.c | |
parent | 6fda30cc54d24730d81b96b2e3b542bf94f52137 (diff) |
Cleanup: Use typedef for button string info type
Before, it wasn't clear what the int in `uiStringInfo` was supposed to
store. Using a typedef can make this someone more explicit.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 685b34b7185..4a02c6b6e88 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -6795,7 +6795,7 @@ void UI_but_string_info_get(bContext *C, uiBut *but, ...) va_start(args, but); while ((si = (uiStringInfo *)va_arg(args, void *))) { - int type = si->type; + uiStringInfoType type = si->type; char *tmp = NULL; if (type == BUT_GET_LABEL) { |