From d4d2cd8bbc23c533bd48a34f88e82c137614cfde Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 5 Jan 2007 11:35:32 +0000 Subject: - moved initialization of configDirectory to Plugin::Start() --- live.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'live.cpp') diff --git a/live.cpp b/live.cpp index fd83cb4..d568b1c 100644 --- a/live.cpp +++ b/live.cpp @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: live.cpp,v 1.7 2007/01/04 17:42:33 lordjaxom Exp $ + * $Id: live.cpp,v 1.8 2007/01/05 11:35:32 lordjaxom Exp $ */ #include @@ -24,7 +24,6 @@ std::string Plugin::m_configDirectory; Plugin::Plugin(void) { - m_configDirectory = cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ); } const char *Plugin::CommandLineHelp(void) @@ -39,6 +38,8 @@ bool Plugin::ProcessArgs(int argc, char *argv[]) bool Plugin::Start(void) { + m_configDirectory = cPlugin::ConfigDirectory( PLUGIN_NAME_I18N ); + RegisterI18n( vdrlive::Phrases ); // XXX error handling m_thread.reset( new ServerThread ); -- cgit v1.2.3