Fix cwd problem causing logfile page not to load.

This commit is contained in:
Ron Pedde 2006-06-07 05:43:59 +00:00
parent c6075137bf
commit 18f72b5135

View File

@ -32,7 +32,7 @@ Application::Application()
: m_dlg(NULL), m_server_events(&m_icon)
{
CDosPath path = CDosPath::AppPath();
SetCurrentDirectory(path.GetPath());
SetCurrentDirectory(path.GetPathOnly());
CDosPath filename(_T("mt-daapd.conf"));
filename |= path;
m_config_path = filename.GetPath();