appease clang format

This commit is contained in:
BreadFish64 2019-03-09 19:15:35 -06:00
parent f767b5fdef
commit 605dfe80e7

View file

@ -543,11 +543,12 @@ std::string GetCurrentDir() {
// Get the current working directory (getcwd uses malloc) // Get the current working directory (getcwd uses malloc)
#ifdef _WIN32 #ifdef _WIN32
wchar_t* dir; wchar_t* dir;
if (!(dir = _wgetcwd(nullptr, 0))) { if (!(dir = _wgetcwd(nullptr, 0)))
#else #else
char* dir; char* dir;
if (!(dir = getcwd(nullptr, 0))) { if (!(dir = getcwd(nullptr, 0)))
#endif #endif
{
LOG_ERROR(Common_Filesystem, "GetCurrentDirectory failed: {}", GetLastErrorMsg()); LOG_ERROR(Common_Filesystem, "GetCurrentDirectory failed: {}", GetLastErrorMsg());
return nullptr; return nullptr;
} }