Common: Fix GetWorkingDirectory on unix

This commit is contained in:
TellowKrinkle
2021-12-23 07:49:14 +00:00
committed by refractionpcsx2
parent 5d15d5958e
commit ea25f49c65
+1
View File
@@ -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;
}