diff options
Diffstat (limited to 'xbmc/input/KeyboardLayout.cpp')
-rw-r--r-- | xbmc/input/KeyboardLayout.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/input/KeyboardLayout.cpp b/xbmc/input/KeyboardLayout.cpp index 84c6257b36..c46d58897a 100644 --- a/xbmc/input/KeyboardLayout.cpp +++ b/xbmc/input/KeyboardLayout.cpp @@ -123,13 +123,12 @@ bool CKeyboardLayout::Load(const TiXmlElement* element) std::string CKeyboardLayout::GetIdentifier() const { - return StringUtils::Format("{} {}", m_language.c_str(), m_layout.c_str()); + return StringUtils::Format("{} {}", m_language, m_layout); } std::string CKeyboardLayout::GetName() const { - return StringUtils::Format(g_localizeStrings.Get(311).c_str(), m_language.c_str(), - m_layout.c_str()); + return StringUtils::Format(g_localizeStrings.Get(311), m_language, m_layout); } std::string CKeyboardLayout::GetCharAt(unsigned int row, |