summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.h b/setup.h
index e7740a7..dba4008 100644
--- a/setup.h
+++ b/setup.h
@@ -48,8 +48,7 @@ private:
inline Setup& LiveSetup()
{
- static PluginBase& plugin = *static_cast< Plugin* >( cPluginManager::GetPlugin( PLUGIN_NAME_I18N ) );
- return plugin.GetLiveSetup();
+ return LivePlugin().GetLiveSetup();
}
} // namespace vdrlive