Cleanup: Make format
Formatting changes resulting from Make Format
This commit is contained in:
parent
aae0b71342
commit
1d7ddcc46e
|
@ -81,7 +81,8 @@ int urename(const char *oldname, const char *newname, const bool do_replace)
|
||||||
if (oldname_16 && newname_16) {
|
if (oldname_16 && newname_16) {
|
||||||
/* Closer to UNIX `rename` behavior, as it at least allows to replace an existing file.
|
/* 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).
|
* 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);
|
r = (MoveFileExW(oldname_16, newname_16, do_replace ? MOVEFILE_REPLACE_EXISTING : 0) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue