diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-20 04:23:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-20 04:23:04 +0300 |
commit | cb560c01b6c61241acaa848cbdeb263af8b8cecd (patch) | |
tree | 79eba0465e374cef76f1da88c6ffa04fa87be33d /source/blender/editors | |
parent | 85dc8d74771dc61c295574af9adea34ef251bf9d (diff) |
Cleanup: clang-format, comment indentation
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 3 | ||||
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/fsmenu.c | 10 |
3 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index f2ec567abf1..42e0aab8418 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -2779,7 +2779,8 @@ void uiTemplatePreview(uiLayout *layout, if (!preview_id || (preview_id[0] == '\0')) { /* If no identifier given, generate one from ID type. */ - BLI_snprintf(_preview_id, UI_MAX_NAME_STR, "uiPreview_%s", BKE_idtype_idcode_to_name(GS(id->name))); + BLI_snprintf( + _preview_id, UI_MAX_NAME_STR, "uiPreview_%s", BKE_idtype_idcode_to_name(GS(id->name))); preview_id = _preview_id; } diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index bfbe1d22334..eb808398254 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -18,7 +18,7 @@ */ /** \file - * \ingroup edphys + * \ingroup edphys */ #include <math.h> diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index 08b800df7dd..66157296064 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -182,12 +182,12 @@ static void fsmenu_xdg_user_dirs_free(GHash *xdg_map) } /** - * Add fsmenu entry for system folders on linux. - * - Check if a path is stored in the GHash generated from user-dirs.dirs - * - If not, check for a default path in $HOME + * Add fsmenu entry for system folders on linux. + * - Check if a path is stored in the GHash generated from user-dirs.dirs + * - If not, check for a default path in $HOME * - * \param key: Use `user-dirs.dirs` format "XDG_EXAMPLE_DIR" - * \param default_path: Directory name to check in $HOME, also used for the menu entry name. + * \param key: Use `user-dirs.dirs` format "XDG_EXAMPLE_DIR" + * \param default_path: Directory name to check in $HOME, also used for the menu entry name. */ static void fsmenu_xdg_insert_entry(GHash *xdg_map, struct FSMenu *fsmenu, |