Cleanup: Make format

Formatting changes resulting from Make Format
This commit is contained in:
Harley Acheson 2023-12-01 10:29:59 -08:00
parent aae0b71342
commit 1d7ddcc46e
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}

View File

@ -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]);