diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-14 05:22:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-14 05:22:14 +0400 |
commit | a9197c3aa21a5b5368e03feffd5b8d27c156b8fb (patch) | |
tree | 700d36d8f3d54303b8c6defe9133462f78471900 /source/blender/editors/animation | |
parent | f6a7205be50237c769933f070ad439ab283e5f8c (diff) |
remove unused args in draw*.c and some in view*.c, tag some as UNUSED().
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_draw.c b/source/blender/editors/animation/anim_draw.c index b564780f6c0..373ad5472ab 100644 --- a/source/blender/editors/animation/anim_draw.c +++ b/source/blender/editors/animation/anim_draw.c @@ -256,7 +256,7 @@ void ANIM_draw_cfra (const bContext *C, View2D *v2d, short flag) /* Draw current frame number in a little box */ if (flag & DRAWCFRA_SHOW_NUMBOX) { - UI_view2d_view_orthoSpecial(C, v2d, 1); + UI_view2d_view_orthoSpecial(CTX_wm_region(C), v2d, 1); draw_cfra_number(scene, v2d, vec[0], (flag & DRAWCFRA_UNIT_SECONDS)); } } |