diff options
-rw-r--r-- | lib/System/Win32/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 357cb2f27e..ce5fe2a3a5 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -672,7 +672,7 @@ Path::renamePathOnDisk(const Path& newName, std::string* ErrMsg) { if (!MoveFileEx(path.c_str(), newName.c_str(), MOVEFILE_REPLACE_EXISTING)) return MakeErrMsg(ErrMsg, "Can't move '" + path + "' to '" + newName.path + "': "); - return true; + return false; } bool |