diff options
Diffstat (limited to 'source/blender/editors')
4 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c index f140c408e68..c6aed3133e2 100644 --- a/source/blender/editors/animation/keyframes_edit.c +++ b/source/blender/editors/animation/keyframes_edit.c @@ -751,7 +751,6 @@ KeyframeEditFunc ANIM_editkeyframes_mirror(short type) return mirror_bezier_value; default: /* just in case */ return mirror_bezier_yaxis; - break; } } diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 01700e1c52a..cfd9f65cf00 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -1088,7 +1088,7 @@ void ui_draw_but_COLORBAND(uiBut *but, uiWidgetColors *UNUSED(wcol), rcti *rect) for( a = 1; a <= sizex; a++ ) { pos = ((float)a) / (sizex-1); - do_colorband( coba, pos, colf ); + do_colorband(coba, pos, colf); if (but->block->color_profile != BLI_PR_NONE) linearrgb_to_srgb_v3_v3(colf, colf); diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index cae6f61d269..537de167153 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -1229,7 +1229,7 @@ static int ui_textedit_delete_selection(uiBut *but, uiHandleButtonData *data) int len= strlen(str); int change= 0; if(but->selsta != but->selend && len) { - memmove( str+but->selsta, str+but->selend, (len - but->selend) + 1 ); + memmove(str + but->selsta, str + but->selend, (len - but->selend) + 1); change= 1; } diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 6288f39367e..4ed6e08fb31 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1845,8 +1845,8 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, bScreen *screen, int UNUS { Tex *tex; for(tex= bmain->tex.first; tex; tex= tex->id.next) - if( tex->use_nodes && tex->nodetree ) { - ntreeTexTagAnimated( tex->nodetree ); + if (tex->use_nodes && tex->nodetree) { + ntreeTexTagAnimated(tex->nodetree); } } |