From 1d7ddcc46ee10ed770722833d538d38f786c9e5f Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Fri, 1 Dec 2023 10:29:59 -0800 Subject: [PATCH] Cleanup: Make format Formatting changes resulting from Make Format --- intern/utfconv/utf_winfunc.cc | 3 ++- source/blender/blenkernel/BKE_duplilist.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/intern/utfconv/utf_winfunc.cc b/intern/utfconv/utf_winfunc.cc index 70697b11b84..9734ee04132 100644 --- a/intern/utfconv/utf_winfunc.cc +++ b/intern/utfconv/utf_winfunc.cc @@ -81,7 +81,8 @@ int urename(const char *oldname, const char *newname, const bool do_replace) if (oldname_16 && newname_16) { /* Closer to UNIX `rename` behavior, as it at least allows to replace an existing file. * Return value logic is inverted however (returns non-zero on sucess, 0 on failure). - * Note that the operation will still fail if the 'newname' existing file is opened anywhere. */ + * Note that the operation will still fail if the 'newname' existing file is opened anywhere. + */ r = (MoveFileExW(oldname_16, newname_16, do_replace ? MOVEFILE_REPLACE_EXISTING : 0) == 0); } diff --git a/source/blender/blenkernel/BKE_duplilist.h b/source/blender/blenkernel/BKE_duplilist.h index e5aa883cc3e..c78a98129f7 100644 --- a/source/blender/blenkernel/BKE_duplilist.h +++ b/source/blender/blenkernel/BKE_duplilist.h @@ -100,7 +100,7 @@ bool BKE_object_dupli_find_rgba_attribute(const struct Object *ob, * \return true if the attribute was found; if not, r_value is also set to zero. */ bool BKE_view_layer_find_rgba_attribute(const struct Scene *scene, - const struct ViewLayer *layer, + const struct ViewLayer *layer, const char *name, float r_value[4]);