From b925279bb29f4e8aaaf0c633bdef0c8cb0b6d48e Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 6 Jun 2006 04:04:57 +0000 Subject: [PATCH] Set cwd to appdir, so relative logfiles work. --- win32/FireflyShell/FireflyShell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/FireflyShell/FireflyShell.cpp b/win32/FireflyShell/FireflyShell.cpp index e756318c..d11cc2ef 100644 --- a/win32/FireflyShell/FireflyShell.cpp +++ b/win32/FireflyShell/FireflyShell.cpp @@ -32,6 +32,7 @@ Application::Application() : m_dlg(NULL), m_server_events(&m_icon) { CDosPath path = CDosPath::AppPath(); + SetCurrentDirectory(path.GetPath()); CDosPath filename(_T("mt-daapd.conf")); filename |= path; m_config_path = filename.GetPath();