summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/_format.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-05 12:52:30 +0000
commit3576b67db9fa0a3d8d5c1747cc3560504d31d125 (patch)
treef6a6cb9916cbf1aab83bac572fec8822f6ad065e /plugins/HistoryStats/src/_format.h
parent73e6231455372205e912963083624aaa371bab0b (diff)
- adaptation for standard Windows ways of handling Unicode;
- obsoleted code removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/_format.h')
-rw-r--r--plugins/HistoryStats/src/_format.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistoryStats/src/_format.h b/plugins/HistoryStats/src/_format.h
index 9e53e21e8b..cecf23feca 100644
--- a/plugins/HistoryStats/src/_format.h
+++ b/plugins/HistoryStats/src/_format.h
@@ -22,7 +22,7 @@ namespace ext
size_type m_NextPos;
public:
- explicit basic_format(const str_type& str, char_type sep = muC('|'))
+ explicit basic_format(const str_type& str, char_type sep = '|')
: m_Str(str), m_Sep(sep), m_NextPos(0)
{
}
@@ -99,7 +99,7 @@ namespace ext
public:
explicit basic_kformat(const str_type& str)
- : m_Str(str), m_Mask(str.length(), muC('_'))
+ : m_Str(str), m_Mask(str.length(), '_')
{
}
@@ -125,11 +125,11 @@ namespace ext
while ((pos = m_Str.find(m_CurKey, pos)) != ext::string::npos)
{
- if (m_Mask.substr(pos, key_len).find(muC('X')) == ext::string::npos)
+ if (m_Mask.substr(pos, key_len).find('X') == ext::string::npos)
{
// replace since we didn't replace here before
m_Str.replace(pos, key_len, szValue, value_len);
- m_Mask.replace(pos, key_len, value_len, muC('X'));
+ m_Mask.replace(pos, key_len, value_len, 'X');
pos += value_len;
}
else