From bfa57ea9e0c22a8acd18f35f262aa3e07fb2a617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 22 Oct 2011 15:46:07 +0300 Subject: Convert some uses of assignments to initializer lists in constructors. --- i18n.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i18n.c') diff --git a/i18n.c b/i18n.c index 617ed09..1d38506 100644 --- a/i18n.c +++ b/i18n.c @@ -1,8 +1,8 @@ #include "i18n.h" #include -cText2SkinI18n::cText2SkinI18n(const char *Skin) +cText2SkinI18n::cText2SkinI18n(const char *Skin) : + mIdentity(std::string("vdr-"PLUGIN_NAME_I18N"-") + Skin) { - mIdentity = std::string("vdr-"PLUGIN_NAME_I18N"-") + Skin; I18nRegister(mIdentity.substr(mIdentity.find('-') + 1).c_str()); } -- cgit v1.2.3