summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-12-30 19:12:04 +0000
committernakeee <nakeee@gmail.com>2008-12-30 19:12:04 +0000
commitb46d1d403a26a063da4f8716336d0ba102684ee3 (patch)
tree5a490903fd8a3e3b10bc31db145386cb43c58baf /Source/Core/Common/Src/FileUtil.cpp
parent443e5051541b6e6fb495c5576c2c98dda915b7a7 (diff)
unexplained warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
-rw-r--r--Source/Core/Common/Src/FileUtil.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp
index 3ce28b1eb7..67717bcaff 100644
--- a/Source/Core/Common/Src/FileUtil.cpp
+++ b/Source/Core/Common/Src/FileUtil.cpp
@@ -532,8 +532,7 @@ error_jmp:
void GetCurrentDirectory(std::string& _rDirectory)
{
char tmpBuffer[MAX_PATH+1];
- getcwd(tmpBuffer, MAX_PATH);
- _rDirectory = tmpBuffer;
+ _rDirectory = getcwd(tmpBuffer, MAX_PATH);
}
} // namespace