diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/editors/space_userpref/userpref_ops.c | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
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
Diffstat (limited to 'source/blender/editors/space_userpref/userpref_ops.c')
-rw-r--r-- | source/blender/editors/space_userpref/userpref_ops.c | 26 |
1 files changed, 13 insertions, 13 deletions
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); } |