diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-28 21:13:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-28 21:13:43 +0300 |
commit | 1012e9bbfa61e09a49962e5ca468e239ad75865a (patch) | |
tree | 7a7dcaea8f651debc85f9f0db73908c71b43e73e /source/blender/editors/interface | |
parent | cb09d34fde5f7beb6907f57f84461a7b5bd90ef1 (diff) |
Cleanup: Fix inconcistent array lengths in function declarations
In some cases functions were defined with arguments of different array
lengths in headers vs. implementations. This commit fixes some of the
cases I ran into, but probably not all of them.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 760fbe75688..6ca0f196280 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -7192,7 +7192,7 @@ void uiTemplateComponentMenu(uiLayout *layout, /** \name Node Socket Icon Template * \{ */ -void uiTemplateNodeSocket(uiLayout *layout, bContext *UNUSED(C), float *color) +void uiTemplateNodeSocket(uiLayout *layout, bContext *UNUSED(C), float color[4]) { uiBlock *block = uiLayoutGetBlock(layout); UI_block_align_begin(block); |