summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/settings.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-12 13:20:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-12 13:20:45 +0000
commit9c4e02916ad863a7fdd95d2668f29714997d61c5 (patch)
treedca6208e75e39868aa79842c43b3afd806007128 /plugins/HistoryStats/src/settings.cpp
parent70dc611c18f94358749c6aa682ebaaa34ca44d18 (diff)
minus one erroneous macro
git-svn-id: http://svn.miranda-ng.org/main/trunk@14925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/settings.cpp')
-rw-r--r--plugins/HistoryStats/src/settings.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/HistoryStats/src/settings.cpp b/plugins/HistoryStats/src/settings.cpp
index 3afbb3aaa5..ce15912a01 100644
--- a/plugins/HistoryStats/src/settings.cpp
+++ b/plugins/HistoryStats/src/settings.cpp
@@ -21,12 +21,7 @@ Settings::CharMapper::CharMapper(const Settings& settings)
}
LCID lcid = GetUserDefaultLCID();
- int len = LCMapString(
- lcid, LCMAP_LINGUISTIC_CASING | LCMAP_LOWERCASE,
- m_CharMap + 1, array_len(m_CharMap) - 1,
- m_CharMap + 1, array_len(m_CharMap) - 1);
-
- assert(len == array_len(m_CharMap) - 1);
+ LCMapString(lcid, LCMAP_LINGUISTIC_CASING | LCMAP_LOWERCASE, m_CharMap + 1, _countof(m_CharMap)-1, m_CharMap + 1, _countof(m_CharMap)-1);
upto_each_(i, 3)
{