diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:33 +0400 |
commit | 5c4f96af2c9fc5afc676cf132e8171a66a973d1b (patch) | |
tree | 3085a2024f8bd07ea2b14a71c6003aaec24c3179 /source/blender/editors/space_node/node_draw.c | |
parent | 62db610220867bb2b68a338b5fb8a2893f45fa80 (diff) |
code cleanup: use 'const float[2]' where possible.
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index 1f98d0a4176..ec563c7f175 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1200,7 +1200,7 @@ static void draw_tree_path(SpaceNode *snode) BLF_draw_default(1.5f * UI_UNIT_X, 1.5f * UI_UNIT_Y, 0.0f, info, sizeof(info)); } -static void snode_setup_v2d(SpaceNode *snode, ARegion *ar, float center[2]) +static void snode_setup_v2d(SpaceNode *snode, ARegion *ar, const float center[2]) { View2D *v2d = &ar->v2d; |