mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
unexplained warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
443e505154
commit
b46d1d403a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user