From 0a0e88b6455e9c46167dcd17afaa0527ddedd3f8 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 5 Oct 2020 09:31:32 -0500 Subject: Cleanup: Use short for properties editor tab list Because the active context is stored as a short in DNA it's better to use short in the code surrounding it. Also adjusted a comment that reflected an incorrect assumption. --- source/blender/editors/include/ED_buttons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_buttons.h') diff --git a/source/blender/editors/include/ED_buttons.h b/source/blender/editors/include/ED_buttons.h index ccef62eb8d2..a4cd2525af3 100644 --- a/source/blender/editors/include/ED_buttons.h +++ b/source/blender/editors/include/ED_buttons.h @@ -28,7 +28,7 @@ extern "C" { struct SpaceProperties; -int ED_buttons_tabs_list(struct SpaceProperties *sbuts, int *context_tabs_array); +int ED_buttons_tabs_list(struct SpaceProperties *sbuts, short *context_tabs_array); #ifdef __cplusplus } -- cgit v1.2.3