From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: ClangFormat: apply to source, most of intern Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat --- .../blender/editors/space_userpref/userpref_ops.c | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'source/blender/editors/space_userpref/userpref_ops.c') diff --git a/source/blender/editors/space_userpref/userpref_ops.c b/source/blender/editors/space_userpref/userpref_ops.c index f6aaf01747c..a67e6c27acb 100644 --- a/source/blender/editors/space_userpref/userpref_ops.c +++ b/source/blender/editors/space_userpref/userpref_ops.c @@ -45,30 +45,30 @@ static int reset_default_theme_exec(bContext *C, wmOperator *UNUSED(op)) { - UI_theme_init_default(); - UI_style_init_default(); - WM_event_add_notifier(C, NC_WINDOW, NULL); + UI_theme_init_default(); + UI_style_init_default(); + WM_event_add_notifier(C, NC_WINDOW, NULL); - return OPERATOR_FINISHED; + return OPERATOR_FINISHED; } static void PREFERENCES_OT_reset_default_theme(wmOperatorType *ot) { - /* identifiers */ - ot->name = "Reset to Default Theme"; - ot->idname = "PREFERENCES_OT_reset_default_theme"; - ot->description = "Reset to the default theme colors"; + /* identifiers */ + ot->name = "Reset to Default Theme"; + ot->idname = "PREFERENCES_OT_reset_default_theme"; + ot->description = "Reset to the default theme colors"; - /* callbacks */ - ot->exec = reset_default_theme_exec; + /* callbacks */ + ot->exec = reset_default_theme_exec; - /* flags */ - ot->flag = OPTYPE_REGISTER; + /* flags */ + ot->flag = OPTYPE_REGISTER; } /** \} */ void ED_operatortypes_userpref(void) { - WM_operatortype_append(PREFERENCES_OT_reset_default_theme); + WM_operatortype_append(PREFERENCES_OT_reset_default_theme); } -- cgit v1.2.3