mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-21 10:19:29 +02:00
Common: Fix GetWorkingDirectory on unix
This commit is contained in:
1 parent
5d15d5958e
commit
ea25f49c65
1 file changed
+1
@@ -1557,6 +1557,7 @@ std::string FileSystem::GetWorkingDirectory()
|
||||
buffer.resize(buffer.size() * 2);
|
||||
}
|
||||
|
||||
buffer.resize(std::strlen(buffer.c_str())); // Remove excess nulls
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user