summaryrefslogtreecommitdiff
path: root/live.cpp
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-05 11:35:32 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-05 11:35:32 +0000
commitd4d2cd8bbc23c533bd48a34f88e82c137614cfde (patch)
treefdf729dfc30ad0eef737a5473d6a31830370ad58 /live.cpp
parent3888b786a0fc15ea309c59861d6221bc6a66aaf7 (diff)
downloadvdr-plugin-live-d4d2cd8bbc23c533bd48a34f88e82c137614cfde.tar.gz
vdr-plugin-live-d4d2cd8bbc23c533bd48a34f88e82c137614cfde.tar.bz2
- moved initialization of configDirectory to Plugin::Start()
Diffstat (limited to 'live.cpp')
-rw-r--r--live.cpp5
1 files changed, 3 insertions, 2 deletions
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 <vdr/plugin.h>
@@ -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 );