diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-05 11:35:32 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-05 11:35:32 +0000 |
commit | d4d2cd8bbc23c533bd48a34f88e82c137614cfde (patch) | |
tree | fdf729dfc30ad0eef737a5473d6a31830370ad58 /live.cpp | |
parent | 3888b786a0fc15ea309c59861d6221bc6a66aaf7 (diff) | |
download | vdr-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.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 ); |