summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-25 14:11:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-25 14:11:24 +0300
commit855ca62463d7cfc011228da38fadcd3c2b70fe8b (patch)
tree45bc4fab69dbce0d078278cbb66ecbeacae2ecaa /plugins/TabSRMM/src/utils.cpp
parent19bf42ce996ea933dfbb234034ff317a7edd3bf0 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index d9dec206a3..d75ca8664e 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -346,10 +346,10 @@ char* Utils::FilterEventMarkers(char *szText)
return szText;
}
-WCHAR* Utils::FilterEventMarkers(WCHAR *wszText)
+wchar_t* Utils::FilterEventMarkers(wchar_t *wszText)
{
- for (WCHAR *p = wcsstr(wszText, L"~-+"); p != nullptr; p = wcsstr(p, L"~-+")) {
- WCHAR *pEnd = wcsstr(p + 3, L"+-~");
+ for (wchar_t *p = wcsstr(wszText, L"~-+"); p != nullptr; p = wcsstr(p, L"~-+")) {
+ wchar_t *pEnd = wcsstr(p + 3, L"+-~");
if (pEnd == nullptr)
break;