diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 13:38:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 13:38:40 +0300 |
commit | b866100c1f63f8cc62c7674d20a417b7a42812cf (patch) | |
tree | 5acefe4f203852d149b712f7ab9d75ff61bcade9 /source/blender/editors/interface/interface.c | |
parent | d26b746e3670b1dcf1ea6cd8ea5a085aaef46141 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 659ebfa4a39..db3bbc8a128 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -928,9 +928,11 @@ static bool ui_but_update_from_old_block(const bContext *C, return found_active; } -/* needed for temporarily rename buttons, such as in outliner or file-select, - * they should keep calling uiDefButs to keep them alive */ -/* returns 0 when button removed */ +/** + * Needed for temporarily rename buttons, such as in outliner or file-select, + * they should keep calling #uiDefBut to keep them alive. + * \return false when button removed. + */ bool UI_but_active_only_ex( const bContext *C, ARegion *region, uiBlock *block, uiBut *but, const bool remove_on_failure) { |