diff options
-rw-r--r-- | xbmc/Application.cpp | 2 | ||||
-rw-r--r-- | xbmc/platform/darwin/osx/XBMCHelper.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 730ca461e1..9e94e51332 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -415,7 +415,7 @@ void CApplication::Preflight() #if defined(TARGET_DARWIN_OSX) std::string install_path; - CUtil::GetHomePath(install_path); + install_path = CUtil::GetHomePath(); setenv("KODI_HOME", install_path.c_str(), 0); install_path += "/tools/darwin/runtime/preflight"; system(install_path.c_str()); diff --git a/xbmc/platform/darwin/osx/XBMCHelper.cpp b/xbmc/platform/darwin/osx/XBMCHelper.cpp index bf2cda1644..bb97c1bb06 100644 --- a/xbmc/platform/darwin/osx/XBMCHelper.cpp +++ b/xbmc/platform/darwin/osx/XBMCHelper.cpp @@ -73,7 +73,7 @@ XBMCHelper::XBMCHelper() { // Compute the KODI_HOME path. std::string homePath; - CUtil::GetHomePath(homePath); + homePath = CUtil::GetHomePath(); m_homepath = homePath; // Compute the helper filename. |