From befa2a27d81822f7cebb5ec5be9208e8465e571f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 15 Feb 2020 23:12:15 +0900 Subject: [PATCH] HostInterface: Fix crash in SetUserDirectory --- src/core/host_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 9639e1e92..a1b1256c2 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -415,7 +415,7 @@ void HostInterface::SetUserDirectory() { const std::string program_path = FileSystem::GetProgramPath(); const std::string program_directory = FileSystem::GetPathDirectory(program_path.c_str()); - Log_InfoPrintf("Program path: \"%s\" (directory \"%s\")", program_path.c_str()); + Log_InfoPrintf("Program path: \"%s\" (directory \"%s\")", program_path.c_str(), program_directory.c_str()); if (FileSystem::FileExists(StringUtil::StdStringFromFormat("%s%c%s", program_directory.c_str(), FS_OSPATH_SEPERATOR_CHARACTER, "portable.txt")