aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/I18n.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc
index 43af752..8d05204 100644
--- a/src/FbTk/I18n.cc
+++ b/src/FbTk/I18n.cc
@@ -98,10 +98,6 @@ I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) {
98 string::size_type index = m_locale.find('@'); 98 string::size_type index = m_locale.find('@');
99 if (index != string::npos) 99 if (index != string::npos)
100 m_locale.erase(index); //erase all characters starting at index 100 m_locale.erase(index); //erase all characters starting at index
101 // remove everything after .
102 index = m_locale.find('.');
103 if (index != string::npos)
104 m_locale.erase(index); //erase all characters starting at index
105 // remove everything before = 101 // remove everything before =
106 index = m_locale.find('='); 102 index = m_locale.find('=');
107 if (index != string::npos) 103 if (index != string::npos)