mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #1926 from elfprince13/patch-1
Call the correct system rename
This commit is contained in:
commit
c702ba0f12
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ bool PosixFileSystem::rename(const Path& from,const Path& to)
|
||||||
String fa = buildFileName(_volume,from);
|
String fa = buildFileName(_volume,from);
|
||||||
String fb = buildFileName(_volume,to);
|
String fb = buildFileName(_volume,to);
|
||||||
|
|
||||||
if (!rename(fa.c_str(),fb.c_str()))
|
if (!::rename(fa.c_str(),fb.c_str()))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue