From b46d1d403a26a063da4f8716336d0ba102684ee3 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 30 Dec 2008 19:12:04 +0000 Subject: [PATCH] unexplained warning fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 3 +-- 1 file changed, 1 insertion(+), 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