unexplained warning fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-30 19:12:04 +00:00
parent 443e505154
commit b46d1d403a

View File

@ -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